You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Anand M S <an...@hotmail.com> on 2003/05/06 20:05:27 UTC
validation problem
Hi All,
I have validation.xml and validation-rules.xml in web-inf and I have
following tag in struts-config.xml, but it's unable to load validation
rules, I could not see any log messages in tomcat log file, does any body
have idea why its not loading validation rules?
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/>
</plug-in>
Thanks,
Anand
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: validation problem
Posted by Mark Galbreath <ma...@qat.com>.
Do you the "validate" attribute of the <action> tag of the form you want to
validate set to "true?"
Mark
-----Original Message-----
From: Anand M S [mailto:anandms5@hotmail.com]
Sent: Tuesday, May 06, 2003 2:05 PM
To: struts-user@jakarta.apache.org
Subject: validation problem
Hi All,
I have validation.xml and validation-rules.xml in web-inf and I have
following tag in struts-config.xml, but it's unable to load validation
rules, I could not see any log messages in tomcat log file, does any body
have idea why its not loading validation rules?
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/>
</plug-in>
Thanks,
Anand
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: validation problem
Posted by Mark Galbreath <ma...@qat.com>.
Somebody ought to fix this problem; it's driving a lot of us away from using
Validator.
Mark
-----Original Message-----
From: Anand M S [mailto:anandms5@hotmail.com]
Sent: Tuesday, May 06, 2003 2:05 PM
To: struts-user@jakarta.apache.org
Subject: validation problem
Hi All,
I have validation.xml and validation-rules.xml in web-inf and I have
following tag in struts-config.xml, but it's unable to load validation
rules, I could not see any log messages in tomcat log file, does any body
have idea why its not loading validation rules?
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames"
value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml"/>
</plug-in>
Thanks,
Anand
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org