You can do that in the web.xml deployment descriptor. There's a section you set up defining what to do with various classes of exception.



On 04/16/2004 11:54 PM Nicolas wrote:
hi

when i use the DispatchAction and someone tries to access a method which doesn't exist a NoSuchMethodException is thrown. how can i catch this exception and redirect or at least change the output ?

regards nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
struts 1.2 + tomcat 5.0.19 + java 1.4.2
Linux 2.4.20 Debian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to