Struts in Action

Books Index


by Ted N. Husted, Cedric Dumoulin, George Franciscus and David Winterfeldt
December, 2002

Chapter 3, Building a simple application | Chapter 12, Validating user input


The JDC is pleased to present two chapters and a quiz from Struts in Action by Ted N. Husted, Cedric Dumoulin, George Franciscus and David Winterfeldt, published by Manning Publications Company.
Foreword by Craig McClanahan

Read about Struts in this technical article, "Strut your Stuff with JSP tags."

About the Book


Struts solves the most common problems of web development. By basing your application on the Struts framework, you can reuse proven solutions and focus on what's unique to your own case. Struts is an open-source product distributed by the Apache Software Foundation. Struts in Action is a comprehensive introduction to the Struts framework. It covers initial design, data validation, database access, dynamic page assembly, localization, product configuration, and other important areas. It shows you how to use both JSP tags and Velocity templates. It carefully explains the Struts architecture and control flow, as well as how to extend framework classes.

Differences between Struts 1.1 and Struts 1.0. are pointed out and a case-study illustrates the 1.0 to 1.1 transition. The book shows you dozens of proven design techniques, patterns, and strategies, many of them not found elsewhere.

About the Chapters

In chapter 3, " Building a simple application, " the authors put together a simple but useful program from square one. The authors tour, dissect, and then construct an application for logging users in and out. This chapter is designed to give a hands-on developer "the big picture."

Chapter 12, " Validating user input," covers the important topic of validating user input. A popular extension to the Struts core is the Struts Validator. This is a very powerful component that provides both client-side and server-side validation from the same configuration.

Ordering Information

Manning Publications Company

Barnes and Noble

SoftPro Computer Books

About the Authors

Ted Husted is an acknowledged Struts authority, an active member of the Struts development team, and manager of the JGuru Struts Forum. As a consultant, Ted has worked with professional Struts development teams throughout the United States. Ted also helps manage the Apache Jakarta project, which hosts the Struts framework. Ted lives in Fairport, New York with his wife, two children, four computers, and an aging cat.

Cedric Dumoulin is an active member of the Struts development team and the author of the Tiles framework. Cedric is presently a researcher at the University of Lille. He has also worked in the R&D department of a leading international internet banking company. He lives in Lille, France.

George Franciscus is a principal at Nexcel, providing technical and management consulting services in several industries including Telecommunications, Banking, Life Insurance and Property and Casualty Insurance. George has expertise in Java, J2EE, Domino, relational databases, and mainframe technologies. He holds a BSc in Computer Science from the University of Toronto. George lives in Toronto, Ontario with his wife and three children.

David Winterfeldt is a Struts committer and author of the Commons Validator package. He works as a senior developer at a major company implementing J2EE technology. David currently lives in New York City.

Chapter 3, Building a simple application | Chapter 12, Validating user input

Reader Feedback
Excellent   Good   Fair   Poor  

If you have other comments or ideas for future technical content, please type them here:


If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.

Have a question about Java programming? Use Java Online Support.

Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
Java 8 banner (182)