aspose file tools*
The moose likes Struts and the fly likes Struts 1.1.3 validator framework not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.1.3 validator framework not working " Watch "Struts 1.1.3 validator framework not working " New topic
Author

Struts 1.1.3 validator framework not working

Gaurav P Goel
Greenhorn

Joined: Oct 25, 2006
Posts: 4
Hi,

I am using struts 1.1.3 version. I want to use validator framework. I have configured everything according to struts documentation, but still the validator framework is not getting called.

struts-config.xml




validation.xml



validation-rules.xml



SubscriptionForm.java extends ValidatorForm.

SubscriptionAdd.jsp calls /saveSubscription when submitted.




SubscriptionAction.java





Kindly let me know if something is wrong above. Thanks a lot.
Shankar Tanikella
Ranch Hand

Joined: Jan 30, 2011
Posts: 329

have you mentioned your form name in your JSP, If no, just add the below line within the html:form tag.


Have Fun with Java
little,little.. little by little makes a lot..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts 1.1.3 validator framework not working