This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes how we use form validation in struts using validate.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "how we use form validation in struts using validate.xml" Watch "how we use form validation in struts using validate.xml" New topic
Author

how we use form validation in struts using validate.xml

Ashutosh kumar singh
Greenhorn

Joined: Feb 27, 2008
Posts: 26
i am using struts for design frontend. but now i want to validate field using validate.xml. so if any person have some idea. then give me just small example. because from net example this is not clear.


thanks
Ashutosh kumar Singh
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
This article from OnJava has a complete example using the Struts Validation Framwork along with a good explanation. For more of a reference type document, see The Struts Validator Guide. Once you've read these sources, let us know if you still have questions.
[ March 24, 2008: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how we use form validation in struts using validate.xml
 
Similar Threads
Javascript error in range validation
Struts 2.1.8 validation.xml & internationalization
Advice for Struts forms with validation
Custom Validation
Checkbox/Multibox validation in Struts