by Ted N. Husted, Cedric Dumoulin, George Franciscus and David Winterfeldt
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.
Read about Struts in this technical article, "Strut your Stuff with JSP tags."
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.
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.
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.