This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts2 validate a checkbox

 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am trying to validate a simple checkbox like this but it isnt happening at all


when validation errors are found the return statement will automatically be 'input' and i have configured that in my struts config file. The validation for the name field is happening fine and that is a <s:textfield tag. but for <s:checkbox it isnt working.

what is the way to validate a simple single checkbox
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic