File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes validation frame work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validation frame work" Watch "validation frame work" New topic
Author

validation frame work

Buddha Raju
Greenhorn

Joined: Jun 01, 2005
Posts: 15
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


Raju
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: validation frame work
 
Similar Threads
why java script is not used in struts framework
Struts validations of file path
Regarding struts validation frame work
Server side Integer fields validation in Struts 1.1
problem in field validation