struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: how to get exception from the stack?
Date Wed, 07 Feb 2007 03:07:14 GMT
--- Daniel Amadei wrote:
> I`m using the exception mapping and I`d like to
> display the exception to the user but I don`t know
how 
> I can get the exception object from the stack, as
> I saw from the docs, they are avaiable in the stack.

<s:property value="exception"/> and
<s:property value="exceptionStack"/>

(Although I've personally only used the latter to
sanity-check a co-worker's config, I believe he used
the former.)

d.



 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097

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


Mime
View raw message