I think the message customisation has been covered so onto trapping
interceptor results.
The easiest way you can trap a 500 error is to define the following XML in
your web.xml file,
500
/error.jsp
In your error page, you will have access to the actionErrors collection
w
Mike J. M. wrote:
Hello,
So I am currently using Struts, including an action that has a fileUpload
Interceptor that checks for files that are too large and certain allowable
file types. Right now if either of these conditions are met, the system will
throw a generic HTTP 500 error up. What I am
Hello,
So I am currently using Struts, including an action that has a fileUpload
Interceptor that checks for files that are too large and certain allowable
file types. Right now if either of these conditions are met, the system will
throw a generic HTTP 500 error up. What I am wondering is how to
3 matches
Mail list logo