Re: Struts considering exceptions in Action class .execute() as unhandled

2006-11-27 Thread Chris Pratt
I think you would have to return what you get from mapping.findForward("goto_graceful_error_page") to make it work, just calling it doesn't do anything by itself. (*Chris*) On 11/26/06, Romu <[EMAIL PROTECTED]> wrote: try without exception & see if the "goto_graceful_error_page" works properly

Re: Struts considering exceptions in Action class .execute() as unhandled

2006-11-26 Thread Romu
try without exception & see if the "goto_graceful_error_page" works properly ? 2006/11/26, Ted Husted <[EMAIL PROTECTED]>: As explained, the code doesn't make any sense to me. An Action is a Java class, and it can't violate the rules of Java. The rules say that an Exception thrown in a try b

Re: Struts considering exceptions in Action class .execute() as unhandled

2006-11-25 Thread Ted Husted
As explained, the code doesn't make any sense to me. An Action is a Java class, and it can't violate the rules of Java. The rules say that an Exception thrown in a try block is handled by the closest catch block. There's nothing Struts can do about that. Though, Struts does have a declarative exc