You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Rajasekhar <ry...@miraclesoft.com> on 2007/12/17 10:35:00 UTC
ExceptionHandling in Struts2.0
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: ryenduva@miraclesoft.com
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: ExceptionHandling in Struts2.0
Posted by Dave Newton <ne...@yahoo.com>.
--- Martin Gainty <mg...@hotmail.com> wrote:
> 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--
I'm not really sure how the logging interceptor is equivalent to the
declarative exception handling S2 offers, so I'll reiterate the original
suggestion of visiting the page at:
http://struts.apache.org/2.0.11/docs/exception-configuration.html
d.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: ExceptionHandling in Struts2.0
Posted by Martin Gainty <mg...@hotmail.com>.
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" <be...@gmail.com>
To: "Struts Users Mailing List" <us...@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 <ry...@miraclesoft.com>:
> >
> > 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: ryenduva@miraclesoft.com
> > 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: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: ExceptionHandling in Struts2.0
Posted by Gabriel Belingueres <be...@gmail.com>.
http://struts.apache.org/2.0.11/docs/exception-configuration.html
2007/12/17, Rajasekhar <ry...@miraclesoft.com>:
>
> 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: ryenduva@miraclesoft.com
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org