The following captures the stack trace that the server throws:
<package name="..." namespace="/..." extends="struts-default">
<global-results>
<result name="Throwable">/path/error.jsp</result>
</global-results>
<global-exception-mappings>
<exception-mapping exception="java.lang.Throwable"
result="Throwable" />
</global-exception-mappings>
<action...
hope this helps...
ravi
Otto, Frank wrote:
>
> hi,
>
> I use ajax (yui) with struts2.
> My method throws an exception, if there is something wrong. How is the
> best way to catch the exception?
>
>
> kind regards,
>
> Frank
>
>
--
View this message in context:
http://www.nabble.com/Struts2%3A-Ajax-call-throws-an-exception---%3E-catch--tp15613070p15613181.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]