Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to validate using annotation

 
Adeyemi Adeseye
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering what annotation to use to validate my <s:select> and <s:checkbox> and how to use validation to ensure that the phone field takes exactly 11 digit.

See my input file below




See below what i have so far in my action class to validate this field


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic