A.5 The Struts Validator The Struts Validator is (Geocities web hosting)
A.5 The Struts Validator The Struts Validator is a validation framework that supports both Struts and non-Struts applications. It was designed with Struts in mind, though, and it has many nice features that are desirable for the types of applications typically built using Struts. Chapter 11 covers the Struts Validator in detail. A.5.1 Change to the ORO Package One thing is worth mentioning as far as upgrading goes. Earlier versions of the Validator framework relied on the RegExp package from Jakarta. This has been switched to Jakarta’s ORO package. See Chapter 11 for more details on why this change was made and how it affects the configuration of the Validator. A.6 Change to Commons Logging The entire Struts framework now relies on the Commons Logging library, which is an open source logging API from Jakarta. It provides a simple, consistent logging API that can be used within all applications and that allows different implementations to be plugged in dynamically. You will need the Commons Logging JARs, but these should already be included with the Struts framework. This change also required some configuration settings to be added. Chapter 15 covers the Commons Logging library as well as general logging in a Struts application. A.7 Removal of Admin Actions Several “administrative” actions were included with previous versions of the Struts framework. These actions could be used for such things as reloading a Struts application (including the configuration settings) without shutting down the application. The ability to add new action mappings dynamically was also supported. These actions have been removed from the framework and are no longer available. If your application requires this functionality, you will have to provide it programmatically. A.8 Deprecation of the GenericDataSource The org.apache.struts.util.GenericDataSourceclass has been deprecated. This class was never designed to be a full-scale data source implementation for large, high-availability applications. It was meant for smaller applications, and never had the advanced features found in the more mature data source products. If you need a data source implementation, it’s recommended that you use either one that is available with your container, or the one available in the Commons DBCP project at http://cvs.apache.org/viewcvs/jakarta-commons/dbcp/. A.9 Dependency on Commons Projects The Struts framework now has the following dependencies on packages from the Jakarta Commons project: Commons BeanUtils Commons Digester Commons Collections
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.