Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

validation of textfields in struts ???  RSS feed

 
kishore harindran
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys ,
I want to restrict user to enter only numeric values in TextField by using struts.
I would be happy if anyone helps me on this.
Regards
Kishore kumar
 
eammon bannon
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Struts comes with validation classes. Read the org.apache.struts.validator JavaDocs to get you going.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!