5 Replies Latest reply on Oct 23, 2009 11:11 AM by Wouter Oet

    String output

    Wouter Oet Newbie

      I need to output a String, based on some requestparameters, for a small device that is unable to process webservices.  So I came up with this:


      com.xhtml:



      <h:outputText xmlns:h="http://java.sun.com/jsf/html" value="#{communicator.responce}" /> 



      Communicator.java:



      import org.jboss.seam.annotations.Logger;
      import org.jboss.seam.annotations.Name;
      import org.jboss.seam.annotations.web.RequestParameter;
      import org.jboss.seam.log.Log;
      
      @Name("communicator")
      public class Communicator {
           
           @Logger Log log;
           @RequestParameter String xml;
           
           public String getResponce()
           {
                log.info("communicator.getResponce()", xml);
                // calculation
                return "resultBasedOnRequestParameter";
           }
      }



      However this results in



      resultBasedOnRequestParameter</html>




      How do I remove the </html>?