struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rokariya, Raman" <Raman.Rokar...@fmr.com>
Subject RE: Reg : Exception Handling
Date Fri, 01 Sep 2006 08:08:23 GMT
Make sure that you have a mapping in Struts-Config.xml also, for the
respective 
action-mapping with the forward="failure"

/Raman Rokariya

-----Original Message-----
From: Antonio Petrelli [mailto:brenmcguire@tariffenet.it] 
Sent: Friday, September 01, 2006 1:11 PM
To: Struts Users Mailing List
Subject: Re: Reg : Exception Handling


Karthikn ha scritto:
> Hi,
>
>         I am new user. I am implementing exception handling in my
> application.
>         In my action class I have try, catch block.
>         in the catch block
>
>         catch(Exception e)
>
>                   {
>
>                         return mapping,findforward("failure");
>
> }
>
> I defined the failure forward in my struts-config.xml.
> But the problem is that forward is not getting executed.
>         Can u please help on this.
>   

Can you post your action mapping and your forward?

P.S.. The next time do not leave so much blank lines or no one will read

your email :-)

---------------------------------------------------------------------
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


Mime
View raw message