Buy Now
Amazon.com
Download a Sample Chapter
Chapter 6: Validator
This chapter covers installing, configuring and using the Validator plugin
for client-side and server-side form data validation.
Table of Contents
- Part I: The Struts Framework
- Chapter 1: An Introduction to Struts
- Chapter 2: Building a Simple Struts Application
- Chapter 3: The Model Layer
- Chapter 4: The View Layer
- Chapter 5: The Controller Layer
- Chapter 6: Validator
- Chapter 7: Tiles
- Chapter 8: Declarative Exception Handling
- Chapter 9: Struts Modules
- Part II: Applying Struts
- Chapter 10: Internationalizing Struts Applications
- Chapter 11: Securing Struts Applications
- Chapter 12: Testing Struts Applications
- Part III: The Struts Tag Libraries
- Chapter 13: The HTML Tag Library
- Chapter 14: The Bean Tag Library
- Chapter 15: The Logic Tag Library
- Chapter 16: The Nested Tag Library
- Chapter 17: Using JSTL with Struts
- Part IV: Struts Configuration Files
- Chapter 18: The Struts Configuration File
- Chapter 19: The Tiles Configuration File
- Chapter 20: The Validator Configuration File
- Part V: Struts Extensions
- Chapter 21: Struts Scripting
- Chapter 22: The Struts-Faces Integration Library
- Chapter 23: Using AJAX with Struts
- Part VI: Appendices
- Appendix A: Struts Console Quick Reference
- Appendix B: 3rd Party Struts Extensions
Download Source Code
Download the source code for the listings and applications in each of the chapters here:
Source Code
Errata
Following is a list of errors (and their corrections) in the current (2nd) edition of the book.
- On page 346 of Chapter 15 the 3rd attribute in the attributes table should be indexId not indexed.
- On page 490 of Chapter 23 the 6th line should be var url = "/MiniHR/count.do"; instead of var url = "/MiniHr/count.do";. The "r" in "MiniHr" needs to be capitalized.
Previous Editions
1st Edition