This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes struts2 validation not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 validation not working" Watch "struts2 validation not working" New topic
Author

struts2 validation not working

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
Hi
I'm new to struts2. I want to validate whether certain record exist in the DB or not. Now I dont have just a single field to validate to check duplicate record but I need to check complete recored with comibination to say data is duplicated.
What I mean is, optionId should have unique key value pair. there can be multiple key value pairs for one optionId. i'm using actionvalidation.



it seems something is missing, i can still enter duplicate data. can anyone help please?


SCJP5
 
 
subject: struts2 validation not working