Hi,     
I'm trying to get Stripes working with error pages for my webapp. The 
problem is it always results in an endless loop.

The 404 error page in web.xml is /error.jsp. It forwards to 
/support/Error. The ErrorAction just returns a ForwardResolution to 
/WEB-INF/pages/test.jsp.

I thought it's a problem with the DynamicMappingFilter (I wanted to use 
it for links without ".action" prefix) so I changed it back to 
StripesFilter, but ended up with the same:
/badUrl -> 404 -> /error.jsp -> forward to /support/Error -> forward to 
/WEB-INF/pages/test.jsp and it goes again to /error.jsp.

If more detail is needed, I described my problems with the 
DynamicMappingFilter at stackoverflow:
http://stackoverflow.com/questions/9362413/dynamicmappingfilter-and-to-many-nested-request-with-error-pages

I don't understand why it loops. Requesting:
/error.jsp
/support/Error
/WEB-INF/pages/test.jsp
works as expected - `/WEB-INF/pages/test.jsp` is rendered.

Any hints what is wrong?

Regards,
piotrek


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to