struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuan, Saul (TOR-ML)" <Saul.Y...@MacLaren.com>
Subject RE: Struts Declarative Exception Handling
Date Fri, 19 Sep 2003 21:11:22 GMT
> 
> I've been doing some reading from Cavaness', O'Reilly
> Struts book and have a question regarding declarative
> exception handling.
> 
> Specifically, page 87, The global-exceptions element:
> 
> "..you will see that the exception element also can be
> specified in the action element.  If an exception
> element is configured for the same type of exception
> both in the global-exceptions element and in the
> action element, the action level will take
> precedence."
> 
> Is it the type or key attribute on the <exception>
> element that provides the overriding mechanism?


It's the type.

The key can be anything, it is just the message resources key specifying
the error message associated with the exception


Saul


> 
> Thanks
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


Mime
View raw message