Hi,

You can use

<s:property value="%{exception}"/>

<s:property value="%{exceptionStack }"/>

to get that information.

Rich

On 10/11/07, jignesh(india) <[EMAIL PROTECTED]> wrote:
>
> Hello,
>     Thanks in advanced.....!
>     Do anyone help me,how can i get exception message,StackTrace into my
> user defined class ?
>     My code is looks like this:-
>
>     <global-results>
>                 <result name="Exception">/AMK.fi_view/Exception.jsp</result>
>     </global-results>
>
>     <global-exception-mappings>
>                 <exception-mapping exception="java.lang.Exception" 
> result="Exception"/>
>     </global-exception-mappings>
>
>     <action name="loginsubmit" class="fi.amk.action.ExternalLogin">
>          xxx....some action
>     </action>
>
> I am able to see user defined Exception page while it occurs,but i also want
> that exception messages and stackTrace.
>
> Best Regards,
> Jignesh
>
> --
> View this message in context: 
> http://www.nabble.com/How-can-i-get-Exception-message-and-StackTrace---tf4605357.html#a13150176
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to