Programming Jakarta Struts, 2nd Edition

Programming Jakarta Struts, 2nd Edition
By Chuck Cavaness
Publisher: O'Reilly
Pub Date: June 2004
ISBN: 0-596-00651-9
Pages: 470

If you want to use the Struts Framework to its fullestpotential, this is the book for you. ProgrammingJakarta Struts, 2nd Edition covers everything thesuccessful earlier edition did as well as plenty more: nowfully up to date with Struts 1.1, this edition covers thelatest material on tag libraries and the new JavaServerFaces(JSF) APIs and even includes all-new chapters on JSF,JSTL/EL, and security.

Copyright © 2004 O'Reilly Media, Inc.

Printed in the United States of America.

Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ( For more information, contact our corporate/institutional sales department: (800) 998-9938 or

Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. The Java Series, Programming Jakarta Struts, the image of a percheron, and related trade dress are trademarks of O'Reilly Media, Inc.

Java™ and all Java-based trademarks and logos are trademarks or registered trade marks of Sun Microsystems, Inc., in the United States and other countries. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.


Over the last few years, web development has turned a very important corner. Gone are the days when Java™ developers wrestled with a single JSP that contained presentation logic, database access via SQL, and navigational intelligence. Java web developers have learned from their mistakes, paid the price in debugging and maintenance time, and moved on.

The number and variety of readily available web frameworks today is immense. It's hard to point a browser at a Java technical site without finding a newly released web framework that's going to revolutionize the modern world. While some may see this as a bad thing that might divide the Java community, the truth is that the constant emergence of new frameworks is just evolution at work.

The design and construction of today's nontrivial web applications pushes developers to the limit of what's logically and physically possible. Myriad solutions are thrown at the problems these applications present. Some of the solutions stick, and as with human evolution, valuable characteristics are passed on in future generations of software. Other solutions do not—those that fail to serve the needs of users and add value usually fall by the wayside.

Through this evolutionary process, the Jakarta Struts framework (created by Craig R. McClanahan and donated to the Apache Software Foundation in 2000) has emerged as one of the best web frameworks available. This book covers Version 1.1, which contains many major enhancements over the previous Jakarta Struts release. If you are building applications, web-based or not, one of the main things you will learn from this book is that frameworks such as Struts are a great time investment.