You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Madhu Nair <ma...@persistent.co.in> on 2003/08/21 07:40:15 UTC

Why write javascript in validation.xml file

Hi,

I am slightly confused on the use of the validation.xml file. If you can
specify the java class to do the validation, why is there an option of
entering javascript also to do the validation?

Regards,
Madhu


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Re: Why write javascript in validation.xml file

Posted by Nagendra Kumar O V S <na...@ikigo.com>.
hi madhu,
validator framework is used for both client as well as server side
validations. javascript for client side and java method class for the server
side. 

-- nagi

-------Original Message-------

From: Struts Users Mailing List
Date: Thursday, August 21, 2003 11:09:45 AM
To: Struts Users Mailing List
Subject: Why write javascript in validation.xml file

Hi,

I am slightly confused on the use of the validation.xml file. If you can
specify the java class to do the validation, why is there an option of
entering javascript also to do the validation?

Regards,
Madhu


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


.