Error in Struts
Hello!I got a ActionForm class that might throw an exception when it is initieted in Struts 1.1.
How ever if this happens and a 500-code is returned we have specied that a ceratin page should be shown.
The page uses html:error.
I now would like to catch the exception in the constructor of the ActionForm, and before I throw the Exception further on I would like to set the error accessible to html:error.
But I do not find any way to put a proper error message like:
saveErrors(HttpServletRequest request, ActionError errors)
...that is found in the Action class:
So if you got any idea how to do this please let me know!
Best regards
Fredrik
