Re: Override Input Form / JSP when Errors Are Encountered

2001-05-09 Thread William Jaynes
Use 'validate="false"' as an action attribute to prevent a return to the input page after a failed validate. Struts will continue on to the action, and you'll need to decide what to do there. - Original Message - From: Jeff Trent To: [EMAIL PROTECTED] Sent:

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-09 Thread Jeff Trent
Ah, okay. So I should call validate() within the action class directly then? I'll play around with this approach. - Original Message - From: William Jaynes To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 6:58 AM Subject: Re: Override Input Form / JSP when

RE: Override Input Form / JSP when Errors Are Encountered

2001-05-09 Thread Nanduri, Amarnath
In that case try to move your validation into the Action class. -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 08, 2001 5:13 PMTo: [EMAIL PROTECTED]Subject: Re: Override Input Form / JSP when Errors Are Encountered That doesn't work

RE: Override Input Form / JSP when Errors Are Encountered

2001-05-09 Thread Hicks, James
exactly James Hicks -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 08, 2001 7:28 PMTo: [EMAIL PROTECTED]Subject: Re: Override Input Form / JSP when Errors Are Encountered Interesting approach. Let me see if I can explain this back

RE: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Nanduri, Amarnath
instead of mapping.findForward(mapping.getInput() ) use mapping.findForward("page2 or page3") ; -Original Message-From: Jeff Trent [mailto:[EMAIL PROTECTED]]Sent: Tuesday, May 08, 2001 3:17 PMTo: [EMAIL PROTECTED]Subject: Override Input Form / JSP when Errors Are

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jonathan
: Override Input Form / JSP when Errors Are Encountered That doesn't work - that is my problem. I don't have a chance to do this in my Action class since the presence of errors generated in form.validate() triggers an immediate response by the framework and redirection occurs

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
]]Sent: Tuesday, May 08, 2001 4:13 PMTo: [EMAIL PROTECTED]Subject: Re: Override Input Form / JSP when Errors Are Encountered That doesn't work - that is my problem. I don't have a chance to do this in my Action class since the presence of errors generated in form.validate

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jeff Trent
To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 5:43 PM Subject: Re: Override Input Form / JSP when Errors Are Encountered String referrer = request.getHeader(Referrer); requestDispatcher requestDispatcher = request.getRequestDispatcher requestDispatcher. forward