Here's the pertinent parts of my web.xml file. Is there anything wrong?
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>StripesFilter</filter-name>
<servlet-name>StripesDispatcher</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<servlet>
<servlet-name>StripesDispatcher</servlet-name>
<servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
<load-on-startup>0</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>StripesDispatcher</servlet-name>
<url-pattern>/action/*</url-pattern>
</servlet-mapping>
On Thu, Nov 3, 2011 at 9:16 PM, Ben Gunter <[email protected]> wrote:
> This usually happens when you access a JSP directly but haven't mapped
> StripesFilter to *.jsp.
>
>
> On Thu, Nov 3, 2011 at 5:20 PM, Adam Stokar <[email protected]> wrote:
>
>> Hi All,
>>
>> I have continued to run into the below error Stripes application.
>>
>> java.lang.
>> IllegalStateException: A request made it through to some part of Stripes
>> without being wrapped in a StripesRequestWrapper. The StripesFilter is
>> responsible for wrapping the request, so it is likely that either the
>> StripesFilter is not deployed, or that its mappings do not include the
>> DispatcherServlet _and_ *.jsp. Stripes does not require that the Stripes
>> wrapper is the only request wrapper, or the outermost; only that it is
>> present.
>>
>> I tried adding the the following to my <filter-mapping> declaration.
>>
>> <dispatcher>INCLUDE</dispatcher>
>>
>> <dispatcher>REQUEST</dispatcher>
>>
>> <dispatcher>FORWARD</dispatcher>
>>
>> Anyone have a different solution? My application runs fine but this
>> error is all over the logs. Thanks!
>>
>> - Adam
>>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users