Dispatcher for Filter Mapping

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-06-03T18:13:40Z Indexed on 2010/06/03 18:34 UTC
Read the original article Hit count: 448

Filed under:
|

I have an app written for Servlet Spec 2.4 with an old webserver designed for Servlet Spec 2.3. The web.xml file has the following syntax:

<filter-mapping> 
    <filter-name>sitemesh</filter-name>  
    <url-pattern>*.action</url-pattern>   
    <dispatcher>REQUEST</dispatcher>    
    <dispatcher>FORWARD</dispatcher> 
</filter-mapping> 

How can I re-write this mapping to be servlet 2.3 compliant?

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp