It's not a secret anymore!
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 validation not working" Watch "struts2 validation not working" New topic

struts2 validation not working

Shilpa Tendulkar
Ranch Hand

Joined: Jul 29, 2001
Posts: 75
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?

I agree. Here's the link:
subject: struts2 validation not working
It's not a secret anymore!