• Post Reply Bookmark Topic Watch Topic
  • New Topic

validation frame work  RSS feed

 
Buddha Raju
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to struts. Can any body let me know how to validate a text field using validation frame work. I need to validate for empty and alpha numaric characters. What are all the steps i need to do



Raju
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a fairly good link giving you the basics of how to start using the validator:

http://www.oracle.com/technology/oramag/oracle/04-jan/o14dev_struts.html

You can find others on Google.

I'd also recommend that you study the validation example that comes with the struts download.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!