Win a copy of Java by Comparison (eBook) this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how we use form validation in struts using validate.xml  RSS feed

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!