This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 2 validation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 validation not working" Watch "Struts 2 validation not working" New topic
Author

Struts 2 validation not working

mike stewart
Greenhorn

Joined: Jun 22, 2011
Posts: 6
I have searched everywhere on google and in these forums and can't figure out why this is not working. Here are my relavant files. I have left some things out but I don't believe I left out anything important. Any help would be greatly appreciated. Thank you in advance and sorry for the long post.



Struts.xml


listTestGroup.jsp



TestGroupAction.java //there are getters and setters for all varilables even though they are not visable.



TestGroupAction-validation.xml


Jesus Mireles
Ranch Hand

Joined: Mar 10, 2010
Posts: 122

I've never really needed to use my own validator.xml ... but your not using anything that couldnt be used with an annotation tag on the setters:




 
 
subject: Struts 2 validation not working
 
Similar Threads
problem with display tag
Problem's in display table
DisplayTag Export Question?
Display Tag horizontal scroll bar issues
DisplayTag problem to export Excel not working