Hey,
Usually I send HTTP errors to a .jsp page with no problem, example:
<error-page>
<error-code>400</error-code>
<location>/WEB-INF/error.jsp?httpError=400</location>
</error-page>
Now I'm trying to send the errors to an action, like:
<error-page>
<error-code>400</error-code>
<location>/Error.action?httpError=400</location>
</error-page>
But I get this error:
15:50:31,297 ERROR [[localhost]] Exception Processing
ErrorPage[errorCode=404, location=/Error.action?httpError=404]
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.
My handler just forwards the user to the error page:
@DefaultHandler
public Resolution main() {
return new ForwardResolution("/WEB-INF/error.jsp");
}
How can I fix it?
Thanks
--
Samuel Santos
http://www.samaxes.com/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users