Poitras Christian <Christian.Poitras <at> ircm.qc.ca> writes:

> 
> In web.xml map *.jsp to StripesFilter.
> 
>     <filter-mapping>
>         <filter-name>StripesFilter</filter-name>
>         <url-pattern>*.jsp</url-pattern>
>         <dispatcher>REQUEST</dispatcher>
>         <dispatcher>FORWARD</dispatcher>
>         <dispatcher>INCLUDE</dispatcher>
>     </filter-mapping>

 
Thanks. I get same error and my web.xml has:
-----------------------------------------------
<!-- Commented this to let Stripes handle JSP and worry about LoginFilter next.
        <filter-mapping>
                <filter-name>LoginFilter</filter-name>
                <url-pattern>*.jsp</url-pattern>
        </filter-mapping>
-->

        <filter-mapping>
                <filter-name>StripesFilter</filter-name>        
                <url-pattern>*.jsp</url-pattern>                
<!-- Commented as can't put both url-pattern servlet-name <servlet-
name>DispatcherServlet</servlet-name> -->
                <dispatcher>REQUEST</dispatcher>
                <dispatcher>FORWARD</dispatcher>        
                <dispatcher>INCLUDE</dispatcher>        
        </filter-mapping>

        <servlet>
          <servlet-name>DispatcherServlet</servlet-name>
          <servlet-class>
           net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
        </servlet>  

        <servlet-mapping>
                <servlet-name>DispatcherServlet</servlet-name>
                <url-pattern>*.action</url-pattern>
        </servlet-mapping>  
--------------
 Don't know how to tell Stripes to handle *.action because DispatcherServlet 
is commented out in Stripes Filtermapping to allow specifying url-pattern. We 
cannot specify both url-pattern AND servlet-pattern.

Thanks
Srini



------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to