File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

validation frame work

 
Buddha Raju
Greenhorn
Posts: 15
  • 0
  • 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
  • 0
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic