You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eduard Neuwirt <ed...@googlemail.com> on 2010/03/24 20:15:11 UTC

Interesting behavior of struts 2.1

Hello all,

I am facing a strange problem. If I redefine in web.xml the 
struts-filters (see following xml-snip), the struts works fine, but I 
loose my location settings after FORWARDING.
 
Any idea ? Please advice.

Regards
Eduard
P.S.: I haven't debugged  the struts code.

<filter-mapping>
        <filter-name>openSessionInViewFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>struts-cleanup</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>sitemesh</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
        <filter-name>struts</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
    </filter-mapping>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org