Hi Nicolas,
 
Thanks for the response,
 
1)I tried this, but giving me error. Pls would u mind giving some code example ?
 
2)About exception - do u mean to say my own method common to all ? This also if 
u can explain with code example would be of great help. 
 
Thanks once again,
 
regards
Manisha


Nicolas De Loof <[EMAIL PROTECTED]> wrote:

You can check for cancel in actions using
isCanceled(request)

Struts cancel tag uses a magic value that this method will detect 
(formbean validation is also skipped)

About exception, I used to set a global exception handler that logs 
exception stack and forwards to a generic error page.

Nico.

Manisha Sathe a écrit :

>I had posted it before - might hv missed the response. I want to check whether 
>Cancel button is pressed, if yes then want to redirect it to another page
> 
>Also how to handle th Exceptions. I am catching many exceptions inside my 
>Action Handlers. 
>what shall i do with them ? Currently just printing the error messages on 
>System.out...., but what is the good practice to handle exceptions ? Close all 
>Resultsets/ connections and redirect to error page ? write some standard 
>routine ? 
> 
>In struts-config i have given mapping to "errors" as global forward, but what 
>if exceptions occur inside my common classes ?
> 
>regards
>Manisha
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
> 
>

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient, you are not authorized 
to read, print, retain, copy, disseminate, distribute, or use this message or 
any part thereof. If you receive this message in error, please notify the 
sender immediately and delete all copies of this message.


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



                
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.

Reply via email to