This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: validation frame work
 
It's not a secret anymore!