Thanks Darren, but validate is already set to true in each action of my
struts-config.xml plus I am validating using

ActionErrors errors = loginForm.validate( mapping , reguest );

Also, I checked my log file and this is what I found is that it seem to be
processing the validation but it doesn't seem to be doing anything.

Any other suggestions?

thanks for your help

Jordan



-----Original Message-----
From: Darren Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, 6 December 2002 2:47 PM
To: 'Struts Users Mailing List'
Subject: RE: Validator Javascript missing


The problem may be in your struts-config.

If you have validate="false" in you action mapping, you have to manually
validate via form.validate();

D.

-----Original Message-----
From: Jordan Thomas [mailto:[EMAIL PROTECTED]]
Sent: December 6, 2002 7:55 AM
To: [EMAIL PROTECTED]
Subject: Validator Javascript missing


Hi All,

A few validator problems here. I have set up my validator and it seems to
only be "half" working. My forms are all extening ValidatorForm but I am
receiving no specific javascript. I have included my generated HTML page.
There is no validation being done on the server side either.

When I load up struts the server parses my validation.xml file with no
problems.

In my action class, when I first enter the page the error.empty() returns
true which is correct but then when I submit a form, I receive a 404 error.

I've included the action class just in case that helps.

I suspect that this is something quite basic but I am having real problems
with this.

thanks in advance

Jordan


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

Attachment: server.log
Description: Binary data

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

Reply via email to