Re: uniform exception handling

2008-05-16 Thread Jeromy Evans
1. In struts.xml, use global-exception-mappings to define mappings that catch-all exceptions of interest. result="methodNotSupported"/> result="methodNotSupported"/> 2. In struts.xml, define global-results that are referenced by the global-exception-mappings. These are sta

uniform exception handling

2008-05-14 Thread Jakub Milkiewicz
Hi i would like to know what is the best practice to handle exceptions in Struts based applications. I have defined ExceptionMappingInterceptor aka exception interceptor and it works but it can not handle all kind of exceptions. I would like to have various exceptions that can occur in various pa