alt
Advertisement
Online Training
Career Series
Exforsys
Exforsys arrow Tech Articles arrow Jakarta Struts arrow Stepping through the Struts 1.1 Validator
Site Search


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.


Trackback(0)
Comments (0)add comment

Write comment

busy
 
< Prev
Sponsored Links
© 2008 Exforsys.com
Joomla! is Free Software released under the GNU/GPL License.
Page copy protected against web site content infringement by Copyscape