You can also remove the <html:javascript> tag as this inserts the JavaScript
for client-side validation.

-----Original Message-----
From: Hohlen, John [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 5:01 PM
To: Struts-User (E-mail)
Subject: Is Server Side Validation Working in Struts 1.1 Beta 3?


Has anyone been able to get server side validation to work with beta 3?  My
team is using client-side (JavaScript) validation, but I decided to test the
server-side validation to make sure it works (as a safety net).  However,
when I did this, server-side validation does not appear to throw any errors
and I get forwarded to the "success" URL.  I saw some rumblings on the
mailing list about this not working in earlier versions of Struts 1.1, but
nothing of late.  BTW, to disable client-side validation, I simply removed
the "onSubmit=return validateMyForm(this)" from my <hmtl:form> tag.  That
should be enough, right?

Thanks,

JOHN

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


*************************************************************************** 
This electronic mail transmission contains confidential and/or privileged 
information intended only for the person(s) named.  Any use, distribution, 
copying or disclosure by another person is strictly prohibited. 
*************************************************************************** 



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

Reply via email to