use the pre-configured interceptor (from struts-default.xml)    <interceptor
name="logger"
class="com.opensymphony.xwork2.interceptor.LoggingInterceptor"/>and use it
in your action class to catch exceptions<!-- prints out a message before any
more interceptors continue and after they have finished -->
 <action name="someAction" class="com.examples.SomeAction">
     <interceptor-ref name="logger"/>
     <interceptor-ref name="completeStack"/>M--
----- Original Message -----
From: "Gabriel Belingueres" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, December 17, 2007 8:40 AM
Subject: Re: ExceptionHandling in Struts2.0


> http://struts.apache.org/2.0.11/docs/exception-configuration.html
>
> 2007/12/17, Rajasekhar <[EMAIL PROTECTED]>:
> >
> > hi
> >  how can i use Exception Handling in struts2.0
> >  does anyone have information pls send me
> >
> > Best Regards,
> >
> > Rajasekhar Yenduva B.tech(IT),
> > Jr J2EE Developer,
> > Miracle Software Systems, Inc
> > Website: www.miraclesoft.com
> > Email: [EMAIL PROTECTED]
> > Work: 248-233-1814
> > Mobile: 9290842877
> >
>
> --------------------------------------------------------------------------
--
> > ------------
> > winning does't always mean being first winning means doing better than
you
> > have done before. __Bonnie Blair
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>


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

Reply via email to