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.

do you check that the form "is beeing submitted" ?
struts calls first the validate method even if the form hasn't been submited
(initialisation)
You have to return null in the validate method if not in "submit" mode.




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

Reply via email to