Book Excerpts : Jakarta Struts Cookbook :

Jakarta Struts Cookbook

by Bill Siggelkow

The Jakarta Struts Framework is a popular, open source platform for building Web applications from top to bottom using Java. While this popularity has led to a wealth of online and in-print documentation, developers still find themselves faced with a number of common tasks that are not clearly and succinctly explained.

In these situations, programmers can now turn to the Jakarta Struts Cookbook, a collection of code solutions for common—and uncommon—problems encountered when working with the Struts Framework. Among many other recipes, this book explains how to:

  • Display data in complex HTML tables.
  • Use JSP, the JSTL, and JavaScript in your user interface.
  • Define static and dynamic action forms.
  • Validate data and respond to errors.
  • Use logging, validation, and exception handling.
  • Integrate Struts with persistence frameworks like Hibernate and iBATIS.
This look-up reference is just what today's time-pressed developers need. With solutions to real-world problems just a few page flips away, information is instantly available. And while the book's solutions focus is on getting to the point, each recipe's discussion section imparts valuable concept and insight from a Struts veteran.

Chapter 14 focuses on Tiles, with recipes to get you started along—with some more advanced uses for Tiles. The chapter also shows you new ways of generating HTML within the context of a Struts application.

Download the PDF excerpt of Chapter 14: "Tiles and Other Presentation Approaches"

Reproduced from Jakarta Struts Cookbook by permission of O'Reilly Media, Inc. ISBN: 0-596-00771-X, copyright 2005. All rights reserved.

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.