On Tue, Jun 23, 2009 at 9:56 AM, Jan T. Kim<j....@uea.ac.uk> wrote: [...] > I (again) agree that an interceptor is more suited for security. I'm > undecided whether this is an issue suitable for a JIRA, it's more that > based on the documentation on Exception Configuration > [http://struts.apache.org/2.0.14/docs/exception-configuration.html], [...]
Based on the documentation, except for the second sentence on the page - "The core idea is that an Exception thrown during the Action method can be automatically caught and mapped to a predefined Result." Don't worry about filing a JIRA, I can see where you are coming from. I'd likely take the time to look at it since the difference between throwing an exception in the action method and the action constructor is subtle and I think many people want to use the exception-mapping to catch any and all sorts of errors. -Wes -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org