Struts Survival Guide : Basics to Best Practices

by ;
Format: Paperback
Pub. Date: 2004-02-01
Publisher(s): Objectsource Llc
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $15.70

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Table of Contents

Getting Started
15(12)
J2EE Platform
15(1)
J2EE web application
16(1)
JSPs
16(1)
Model 1 Architecture
17(1)
Problems with Model 1 Architecture
18(1)
Model 2 Architecture - MVC
18(2)
Advantages of Model 2 Architecture
19(1)
Controller gone bad -- Fat Controller
20(1)
MVC with configurable controller
20(2)
First look at Struts
22(3)
Tomcat and Struts installation
25(1)
Summary
25(2)
Struts Framework Components
27(18)
Struts request lifecycle
28(8)
ActionServlet
28(2)
RequestProcessor and ActionMapping
30(1)
ActionForm
31(1)
Action
32(1)
ActionForward
33(1)
ActionErrors and ActionError
34(2)
Struts Configuration File -- struts-config.xml
36(3)
View Components
39(5)
How Form Tag works
40(2)
How ErrorsTag works
42(2)
Summary
44(1)
Your First Struts Application
45(20)
Introduction
45(1)
Hello World -- step by step
46(12)
Lights, Camera, Action!
58(2)
Handling multiple buttons in HTML Form
60(2)
Value replacement in Message Resource Bundle
62(2)
Summary
64(1)
All About Actions
65(30)
ForwardAction
65(4)
MVC compliant usage of LinkTag
66(1)
Using LinkTag's action attribute
67(1)
Using LinkTag's forward attribute
67(1)
Using ForwardAction for Integration
68(1)
ForwardAction Hands-on
68(1)
Protecting JSPs from direct access
69(3)
IncludeAction
72(1)
DispatchAction
73(4)
LookupDispatchAction
77(2)
Configuring multiple application modules
79(3)
Roll your own Base Action and Form
82(3)
Handling Duplicate Form Submissions
85(2)
What goes into Action (and what doesn't)
87(3)
When to use Action chaining (and when not to)
90(1)
Actions for complex transitions
90(2)
Wiring the handlers
91(1)
State aware Forms
91(1)
Managing struts-config.xml
92(1)
Struts-GUI
92(1)
Struts Console
93(1)
XDoclet
93(1)
Guidelines for Struts Application Development
93(1)
Summary
94(1)
Form Validation
95(18)
Using Commons Validator with Struts
96(7)
The twin XML files
96(1)
validation-rules.xml -- The global rules file
97(1)
validation.xml -- The application specific rules file
98(2)
More validation.xml features
100(2)
Using the ValidationForm
102(1)
Configuring the Validator
102(1)
Steps to use Commons Validator in Struts
103(1)
DynaActionForm -- The Dynamic ActionForm
103(4)
Dyna ValidatorForm
107(1)
Validating multi-page forms
107(3)
Validating form hierarchy
110(1)
Summary
111(2)
Struts Tag Libraries
113(34)
Struts HTML Tags
114(10)
Modifying the Base Tag
114(2)
Form Tag
116(1)
FileTag
116(1)
Smart Checkbox -- The state aware checkbox
117(1)
Using CSS with Struts HTML Tags
118(1)
Enhancing the error display with customized TextTag
119(4)
The recommended way to use ImgTag
123(1)
Using Images for Form submissions
124(4)
ImageButton and JavaScript
127(1)
Struts Bean Tags
128(1)
Message Tag and Multiple Resource Bundles
128(1)
Write Tag
129(1)
Struts Logic Tags
129(3)
Nested Logic Tags
130(1)
Iterate Tag
131(1)
A crash course on JSTL
132(3)
JSTL Binaries -- Who's who
134(1)
Struts-EL
135(2)
Struts-EL hands-on
135(1)
Practical uses for Struts-EL
136(1)
List based Forms
137(4)
Multi-page Lists and Page Traversal frameworks
141(5)
Pager Taglib
141(1)
DisplayTag and HtmlTable frameworks
142(2)
Creating the Model for iteration
144(2)
Summary
146(1)
Struts and Tiles
147(10)
What is Tiles
147(3)
Your first Tiles application
150(6)
Step 1: Creating the Layout
151(1)
Step 2: Creating the XML Tile definition file
151(2)
Step 3: Modifying the forwards in struts-config.xml
153(1)
Step 4: Using TilesRequestProcessor
154(1)
Step 5: Configuring the TilesPlugln
154(2)
Tiles and multiple modules
156(1)
Summary
156(1)
Struts and I18N
157(16)
Terminology
157(1)
What can be localized?
158(1)
The Java I18N and L10N API
159(5)
Accessing Locale in Servlet Container
160(4)
Internationalizing Struts Applications
164(2)
Internationalizing Tiles Applications
166(1)
Processing Localized Input
167(1)
Character encodings
168(3)
Struts and character encoding
170(1)
native2ascii conversion
171(1)
Summary
171(2)
Struts and Exception Handling
173(28)
Exception Handling Basics
174(1)
Log4J crash course
175(1)
Principles of Exception Handling
176(3)
The cost of exception handling
179(1)
JDK 1.4 and exception handling
180(1)
Exception handling in Servlet and JSP specifications
181(2)
Exception handling -- Struts way
183(5)
Declarative exception handling
183(2)
Using the ExceptionHandler
185(1)
When not to use declarative exception handling
186(1)
Exception handling and 118N
187(1)
Logging Exceptions
188(6)
Strategies for centralized logging
194(4)
Reporting exceptions
198(2)
Summary
200(1)
Effectively Extending Struts
201(14)
Customizing the action mapping
203(2)
A rudimentary page flow controller
205(2)
Controlling the validation
207(3)
Controlling duplicate form submissions
210(4)
DispatchAction for Image Button form submissions
214(1)
Summary
215

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.