Exforsys.com
 

Sponsored Links

 

Jakarta Struts Tutorials

 
Home Tech Articles Jakarta Struts
 

Stepping through the Struts 1.1 Validator

 

Jakarta Struts is becoming increasingly popular as the de- facto MVC framework for servlet applications. Currently we’re all waiting for version 1.1 to be finally released. But, until this happens there’s no reason not to use the 1.1 Release Candidate, which is considered to be very stable, and at the API level it can be assumed to be identical to the final release.

One of the nice things in 1.1 is the inclusion of the Validator framework, which makes it much more effortless than before to implement simple form validation rules. In this article I'll show you how to use the new Validator. But first I’ll briefly go through how we did validation with Struts in the "old days", and then step up to how it’s done in 1.1, where the validation rules can be separated from the code by placing them in a configuration XML file.

To benefit from the article you need to have some experience with Struts, either version 1 or 1.1 RC. If you're new to Struts, I've written a couple of introductory articles, which quickly will bring you up to speed. They're listed in the resources section at the end of the article.

Click here for the article.


Read Next: How JDeveloper supports the Struts controller



 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape