It could be that you're using the FreeMarkerPageFilter and it appears that you are trying to decorate a JSP. Try
<filter> <filter-name>sitemesh</filter-name> <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class> </filter> On Thu, 2008-01-17 at 20:18 +0100, deeeed wrote: > Hi, > I just tried to integrate the sitemesh plugin with the default struts2 > archetype by editing my web.xml: > <!-- <filter>--> > <!-- <filter-name>sitemesh</filter-name>--> > <!-- <filter-class> > com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>--> > <!-- </filter>--> > <filter> > <filter-name>sitemesh</filter-name> > <filter-class> > org.apache.struts2.sitemesh.FreeMarkerPageFilter > </filter-class> > </filter> > > But now it seems that the jsp code can't be executed anymore and the > rendered page is: > ... > <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> > <[EMAIL PROTECTED] prefix="decorator" uri=" > http://www.opensymphony.com/sitemesh/decorator" %> <[EMAIL PROTECTED] > prefix="page" > uri="http://www.opensymphony.com/sitemesh/page" %> <[EMAIL PROTECTED] > prefix="s" > uri="/struts-tags" %> HEADER > ------------------------------ > ... > > Any idea ? > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]