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 how to check fields in struts validator 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 "how to check fields in struts validator" Watch "how to check fields in struts validator" New topic
Author

how to check fields in struts validator

satyamreddy reddybrother
Greenhorn

Joined: Mar 26, 2006
Posts: 5
hello any body can help me

i have one jsp file iam using this file for search criteria in this
page i have 3 fields id,name,status if user enters any one field
it should not ask for enter the data .if he should not enter the
data in any one field it should ask for entering the data.
iam using struts frame work,
my formbean extends ValidatorActionForm and i want to check this using
validator.xml file only how can it possible i tried using some built validation but iam not getting the result any body can give me sample validation example
thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to check fields in struts validator
 
Similar Threads
Struts2 Validation problem
Regarding Form Validation using Validator plugin
Multiple field validation in Struts2 Validation using validation.xml file
Struts 2: conditional validation, how to do that?
Getting data