Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Struts Dynavalidation

Status
Not open for further replies.

apaydawy

Programmer
Joined
Feb 2, 2005
Messages
1
Location
US
I am using Dynamic validation in my application but no luck so far. when I run my application it doesnt seems detect the errors. Can you please let me know what is wrong that I am doing. This is urgent.....Thanks so much
1- <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathname" value="/WEB-INF/validator-rules.xml"/> <set-property property="pathname" value="/WEB-INF/validation.xml"/> </plug-in>

2-strut config file - form beans <form-bean name="firstForm" type="org.apache.struts.validator.DynaValidatorActionForm"> <form-property name="lName" type="java.lang.String"/> </form-bean>

3- struts-config file - plug in
<plug-in className="org.apache.struts.plugins.ModuleConfigVerifier"/> <plug-in className="org.apache.struts.validator.ValidatorPlugIn"> <set-property property="pathnames" value=&quo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top