My codebase has a lot of lines like this in struts actions:
return mapping.findForward("foo");

If I make a typo and it turns out that "foo" is not a valid forward
according to the struts config file, when I hit the action in the
browser, I get a blank page. Not my designated error page.

Is there some sort of struts-centric way to ensure that an exception
is thrown and my error page appears? I just want to know if there is
an existing mechanism to do this. I could easily write a method to do
it (to be called instead of mapping.findForward()) but it seems that
this is something Struts should handle.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to