I am using the 2.1.3-SNAPSHOT of Struts2 with the SiteMesh JSP PageFilter.  I
have found that the struts tags do not error out in the JSP decorator but
they also cannot find any values (stack, session, etc).  They just return
blank.  

I would use the struts2-sitemesh-plugin, but I would like to use JSP for my
decorator template.   Is there someone out there using 2.1.3 & Sitemesh with
struts tags in their JSP decorator?

Here is my setup:
web.xml
----------------
    <filter>
        <filter-name>struts-prepare</filter-name>
       
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class>
        <init-param>
            <param-name>actionPackages</param-name>
            <param-value>com.jmh.edcare.webapp.action</param-value>
        </init-param>
    </filter>
    <filter>
    <filter-name>securityFilter</filter-name>
    <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class>
    <init-param>
        <param-name>targetClass</param-name>
        <param-value>org.acegisecurity.util.FilterChainProxy</param-value>
    </init-param>
</filter>
    <filter>
        <filter-name>sitemesh</filter-name>
       
<filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
    </filter>
    <filter>
        <filter-name>lazyLoadingFilter</filter-name>
       
<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
    </filter>
    <filter>
        <filter-name>struts-execute</filter-name>
       
<filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter</filter-class>
    </filter>
    <filter-mapping>
        <filter-name>struts-prepare</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>sitemesh</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>    
    <filter-mapping>
        <filter-name>securityFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>lazyLoadingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
    <filter-mapping>
        <filter-name>struts-execute</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

-- 
View this message in context: 
http://www.nabble.com/Struts-Tags%2C-Sitemesh---2.1.3-SNAPSHOT-tp20666933p20666933.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to