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]