This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts2 validation not working