struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <strut...@reumann.net>
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.

-- 
Rick

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


Mime
View raw message