On 9/19/05, David Erickson <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Wojciech Ciesielski [mailto:[EMAIL PROTECTED]
> > Use ActionRedirect class in your STRUTS Action's execute:
> >
> > ActionRedirect ar = new
> > ActionRedirect(mapping.findForward("myRedirectForward");
> > ar.addParameter("id",yourId);
> > return ar;
> >
> > and it should work :]
> 
> Right, I understand this can work, the problem is WHERE do I return an
> ActionForward or at least get access to the ActionForward that is going to
> be used when the XML Validation fails.  The validate method on the form
> returns an ActionErrors object, not an ActionForward...

Do not use automatic validation, do not use "input" attribute. Call
validate() manually from your action class.

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

Reply via email to