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

Reply via email to