struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: catch NoSuchMethodException
Date Sat, 17 Apr 2004 12:01:09 GMT
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message