Ciaran:

Try specifically adding "validate=false" and see what happens..?

Geeta

> -----Original Message-----
> From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 15, 2004 11:28 AM
> To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
> Subject: RE: Form Validation Before Submit
> 
> 
> This is not the case with my struts config, I have other 
> forms which are
> much more complex which work fine in the app yet this much simpler one
> attempts to validate before any data is even entered yet I 
> cannot figure it
> out.
> 
> Ciaran
> 
> -----Original Message-----
> From: ksitron [mailto:[EMAIL PROTECTED] 
> Sent: 15 June 2004 17:02
> To: Struts Users Mailing List
> Subject: Re: Form Validation Before Submit
> 
> 
> 
> In your struts-config.xml, if you have the validate="true" set. Then, 
> the validate method of your form will be
> called before your action.execute method is called.
> 
> Ciaran Hanley wrote:
> 
> >Hello,
> >
> > 
> >
> >I have a simple form in my application which I am having 
> trouble with.
> >
> > 
> >
> >On entering the action class and forwarding to the JSP I see 
> error messages
> >which should only appear when the form has been validated 
> after submitting.
> >I cannot figure out why this is appearing as all that is 
> called inside the
> >action class is a mapping.findForward() to the page in question. Can
> anybody
> >suggest any possible reasons as to why I am seeing the form 
> error messages
> >before submitting.
> >
> > 
> >
> >Thanks,
> >
> >CH
> >
> >
> >  
> >
> 
> -- 
> 
> Kevin J Citron
> Sr. Object Imagineer
> Optimized Objects, Inc.
> EL Paso, Texas 79930
> (915) 565-7785/566-2403
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to