struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <>
Subject Re: One jsp File for all Errors(Exceptions) ?
Date Mon, 11 Oct 2004 04:11:33 GMT
Manuel Wissmann wrote the following on 10/10/2004 5:50 AM:

> Is there a easy way in Struts  to use one jsp-file to display all 
> Errors(Exceptions) which occour?

Sure just create a global-exception of type java.lang.Exception in your 
struts-config. Have it forward to error.jsp and display your error 
messages. This will catch errors that trickle up to struts actions and 
aren't caught and and not rethrown.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message