In Facelets, setting contentType on f:view should do the trick, but I don't know for sure.
-- Adam On 7/23/07, Burghard Britzke <[EMAIL PROTECTED]> wrote:
and for facelets? is it possible to set the content type, too? for facelets .xhtml files it rendered html 4.01. Am 23.07.2007 um 19:58 schrieb Adam Winer: > Funny, I should have remembered: > https://issues.apache.org/jira/browse/TRINIDAD-78 > ... since I fixed it myself... > > Looks like it's this simple: set the contentType of your > JSP page to be XHTML, get XHTML output. And, > if you fail to set a content type, then by default > you get HTML for .jsp pages, XHTML for .jspx > documents. > > -- Adam > > > On 7/23/07, Adam Winer <[EMAIL PROTECTED]> wrote: >> As best I know, we never render XHTML, so I'm surprised to >> hear otherwise. >> >> -- Adam >> >> >> On 7/23/07, Burghard Britzke <[EMAIL PROTECTED]> wrote: >> > hi, >> > sometimes the <tr:document> decides to render xhtml and sometimes >> > html4.01. how to control it? >> > >> > >>

