Re: Struts, Interceptor error message customization

2008-02-16 Thread sarat.pediredla
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

Re: Struts, Interceptor error message customization

2008-02-02 Thread Laurie Harper
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

Struts, Interceptor error message customization

2008-01-30 Thread Mike J. M.
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