Re: Declarative Exception Handling with Struts Validation

2006-05-16 Thread Paul Benedict
saveErrors is not deprecated. I use it in Struts 1.2. --- Asad Habib <[EMAIL PROTECTED]> wrote: > Paul, what method do I use to save them? I am using Struts 1.2.9 and as > far as I know the saveErrors method has been deprecated. Is there another > method that replaced this one? Thanks. > > - A

Re: Declarative Exception Handling with Struts Validation

2006-05-16 Thread Asad Habib
Paul, what method do I use to save them? I am using Struts 1.2.9 and as far as I know the saveErrors method has been deprecated. Is there another method that replaced this one? Thanks. - Asad On Tue, 16 May 2006, Paul Benedict wrote: Asad, I have not had this problem. I use declarative exce

Re: Declarative Exception Handling with Struts Validation

2006-05-16 Thread Paul Benedict
Asad, I have not had this problem. I use declarative exception all the time. Two things to look for: 1) Make sure you're actually saving the errors messages after you generate them. Calling form.validate() only makes them; make sure you save them in the request. 2) Make sure you're not redirect

Declarative Exception Handling with Struts Validation

2006-05-16 Thread Asad Habib
Okay, I've finally got this working except for one piece. I use form.validate in my action to retrieve errors placed by the Struts Validator in the ActionErrors object. Depending on the type of error in ActionErrors, my action throws an exception and this in turn triggers forwarding to a partic