• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 validation not working

 
Shilpa Tendulkar
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic