struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guruprasad jakka <>
Subject Server side Validation Problems
Date Thu, 10 Jul 2003 04:42:42 GMT
Dear Struts users,

I have done a simple web-app using validator framework.
the JavaScript validations are proper.But in the server side
validations, i have problems.
    Only,the 'required','minlength'&'maxlength' validations are
working.Rest other validators have no effect even though, i have
used them in the validation.xml file.
eg- validate email-address has no effect even if i enter a
invalid address.

In javascript validations, if I enter a invalid email-id , I am
getting a error,whereas in server side there is no error shown.

Here is my validation.xml file .

      <form    name="registrationForm">
         <field    property="username"
         	   <msg name="mask"
         	     <arg0 key="loginform.username.displayname"/>
         	     <arg1 name="minlength" key="${var:minlength}"
        <field    property="password1"
		          	     <arg0 key="loginform.password1.displayname"/>
         <field    property="password2"
	          	     <arg0 key="loginform.password2.displayname"/>
         <field    property="phone"
         	     <arg0 key=""/>
         <field    property="email"
         	     <arg0 key=""/>

Please,tell me what would be the problem and how to solve it.

Get your own "800" number
Voicemail, fax, email, and a lot more

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message