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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: validation frame work
 
Similar Threads
Struts validations of file path
Regarding struts validation frame work
problem in field validation
Server side Integer fields validation in Struts 1.1
why java script is not used in struts framework