On Wed, Feb 19, 2003 at 09:13:49PM +0100, Anders Engström wrote: > In the current code-base when an exception is thrown in action.execute() > a standard web-work page is rendered by ServletDispatcher. There is no > (?) way to override this. > > It would be very useful if one could define an application error page in > views.properties > > on-exception.view=error.jsp > > or an action-specific exception view > > HelloAction.on-exception.view=hello_error.jsp
I always thought that in case of an exception "error" is used as view. Or did this change somewhen? This was a reasonable behaviour, IMHO. I don't wan't to differenciate between "normal errors" (whatever they are) and "exceptions". If an exception slips throught, show "error". If you have to diferentiate, catch and handle in your Action class. -billy. -- Meisterbohne Söflinger Straße 100 Tel: +49-731-399 499-0 eLösungen 89077 Ulm Fax: +49-731-399 499-9 ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork