aspose file tools*
The moose likes Struts and the fly likes Form validation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form validation not working" Watch "Form validation not working" New topic
Author

Form validation not working

Shobb Bob
Greenhorn

Joined: Dec 18, 2008
Posts: 4
Hello

I am trying to get my form to validate but everytime I press the submit button it returns error messages for all the input fields even if some of them have been filled in. See my code below:

form.jsp


actionClass-validation.xml


struts.xml

[ December 18, 2008: Message edited by: Shobb Bob ]
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Do you have the appropriate action properties?
 
Consider Paul's rocket mass heater.
 
subject: Form validation not working