Are you using facelets? If so, put a <ui:composition> around the f:view, or better yet, remove all of the JSP tags in the page.
-Andrew On Wed, Feb 17, 2010 at 7:29 AM, Jozef Dropco <[email protected]> wrote: > Hi all, > I have following code: > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" > xmlns:f="http://java.sun.com/jsf/core" > xmlns:h="http://java.sun.com/jsf/html" > xmlns:trh="http://myfaces.apache.org/trinidad/html" > xmlns:tr="http://myfaces.apache.org/trinidad" > xmlns:ui="http://java.sun.com/jsf/facelets" version="2.0"> > <jsp:directive.page contentType="text/html;charset=utf-8"/> > <f:view locale="${preferencies.locale}"> > <f:loadBundle basename="localization.messages" var="msg"/> > <tr:document title="#{msg.title}" mode="strict" > > <tr:form> > <div id="top"> > <ui:include src="header.xhtml" /> > </div> > <div> > <div id="left"> > <ui:include src="mainMenu.xhtml"/> > </div> > <div> > <div id="right"> > <ui:insert name="right">Right</ui:insert> > </div> > <div id="content" class="right_content"> > <ui:insert name="content">Content</ui:insert> > </div> > </div> > </div> > <div id="bottom"> > <ui:include src="footer.xhtml" /> > </div> > </tr:form> > </tr:document> > </f:view> > </jsp:root> > > but when I open HTML source code I can see there > > <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" > > <jsp:directive.page contentType="text/html;charset=utf-8"></jsp:directive> > > What am I doing wrong, everything else work just fine. > > Thanks, > Jozef > >

