If this functionality exists it MUST be part of the webapp framework. As far as I am concerned, I prefer a WW2-centric approach. In this viewpoint, you could consider taking advantage of the fully functionnal framework to handle exceptions. You could forward DIRECTLY to an action, manage different result types (action, jsp, velocity,...), and so on. Cheers.
Richard HALLIER Chef de projet [EMAIL PROTECTED] 01.40.12.41.52 www.uniclick.org UNICLICK -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Hani Suleiman Envoye : samedi 1 novembre 2003 04:30 A : [EMAIL PROTECTED] Objet : Re: [OS-webwork] Exception handler proposal Err, why on earth would you want this in webwork? What's wrong with the exception handlers you can specify in web.xml, which work exactly as described below? On Oct 31, 2003, at 10:18 PM, Jason Carreira wrote: > Nope... Interesting idea... Post a Jira issue for it... > >> -----Original Message----- >> From: Fred Lamuette [mailto:[EMAIL PROTECTED] >> Sent: Friday, October 31, 2003 3:00 PM >> To: [EMAIL PROTECTED] >> Subject: [OS-webwork] Exception handler proposal >> >> >> Is there an exception handler mechanism in xwork ? >> Something like : <global-exception type="mypack.ApplicationException" >> action="myExceptionHandlerAction"/> >> that could redirect exceptions inherited from >> mypack.ApplicationException to the myExceptionHandlerAction >> action ? Cheers. >> >> Richard HALLIER >> Chef de projet >> [EMAIL PROTECTED] >> 01.40.12.41.52 >> www.uniclick.org >> UNICLICK >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Opensymphony-webwork mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork