Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Re: how to get exception from the stack?

Dave Newton

2007-02-06

Replies:

--- 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@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.