Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to check fields in struts validator

 
satyamreddy reddybrother
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic