2 Replies Latest reply on Feb 17, 2010 5:40 AM by willie slepecki

    trailing html tag in empty xhtml, json output

    Johnathan Livingston Newbie

      I try to create an empty or test output with an XHTML page wich should be without any html structure (needed for JSON printout).

      It works fine, but surprisingly I discover a trailing


      in the output. How comes, may be this is a JSF issue? Anyway, I hope somebody has already come across it.

      The xhtml looks like e.g.

      <ui:composition  [here namespaces]>

      I have already read about building a custom json servlet but is this a real alternative if you can just print out what you want to?