Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

J2EE Platform
J2EE web application
1.2 Model 1 Architecture
Problems with Model 1 Architecture
1.3 Model 2 Architecture - MVC
Advantages of Model 2 Architecture
Controller gone bad – Fat Controller
1.4 MVC with configurable controller
1.4 First look at Struts
1.5 Tomcat and Struts installation
1.6 Summary
2.1 Struts request lifecycle
RequestProcessor and ActionMapping
2.2 Struts Configuration File – struts-config.xml
2.3 View Components
How FormTag works
How ErrorsTag works
2.4 Summary
3.1 Introduction
3.2 Hello World – step by step
3.3 Lights, Camera, Action!
3.4 Handling multiple buttons in HTML Form
3.5 Value replacement in Message Resource Bundle
3.6 Summary
4.1 ForwardAction
MVC compliant usage of LinkTag
Using LinkTag’s action attribute
Using LinkTag’s forward attribute
Using ForwardAction for Integration
ForwardAction Hands-on
4.2 Protecting JSPs from direct access
4.3 IncludeAction
4.4 DispatchAction
4.5 LookupDispatchAction
4.6 Configuring multiple application modules
4.7 Roll your own Base Action and Form
4.8 Handling Duplicate Form Submissions
4.9 What goes into Action (and what doesn’t)
4.10 When to use Action chaining (and when not to)
4.11 Actions for complex transitions
Wiring the handlers
State aware Forms
4.12 Managing struts-config.xml
Struts Console
4.13 Guidelines for Struts Application Development
4.14 Summary
5.1 Using Commons Validator with Struts
The twin XML files
validation-rules.xml – The global rules file
validation.xml – The application specific rules file
More validation.xml features
Using the ValidationForm
Configuring the Validator
5.2 DynaActionForm – The Dynamic ActionForm
5.3 Validating multi-page forms
5.4 Validating form hierarchy
5.5 Summary
6.1 Struts HTML Tags
Modifying the Base Tag
Form Tag
Smart Checkbox – The state aware checkbox
Using CSS with Struts HTML Tags
Enhancing the error display with customized TextTag
The recommended way to use ImgTag
6.2 Using Images for Form submissions
ImageButton and JavaScript
6.3 Struts Bean Tags
Message Tag and Multiple Resource Bundles
6.5 A crash course on JSTL
JSTL Binaries – Who’s who
6.6 Struts-EL
Struts-EL hands-on
Practical uses for Struts-EL
6.7 List based Forms
6.8 Multi-page Lists and Page Traversal frameworks
Pager Taglib
DisplayTag and HtmlTable frameworks
Creating the Model for iteration
6.9 Summary
7.1 What is Tiles
7.2 Your first Tiles application
Step 1: Creating the Layout
Step 2: Creating the XML Tile definition file
Step 3: Modifying the forwards in struts-config.xml
Step 4: Using TilesRequestProcessor
Step 5: Configuring the TilesPlugIn
7.3 Tiles and multiple modules
7.4 Summary
What can be localized?
8.1 The Java I18N and L10N API
Accessing Locale in Servlet Container
8.2 Internationalizing Struts Applications
8.3 Internationalizing Tiles Applications
8.4 Processing Localized Input
8.5 Character encodings
Struts and character encoding
native2ascii conversion
8.6 Summary
9.1 Exception Handling Basics
9.2 Log4J crash course
9.3 Principles of Exception Handling
9.4 The cost of exception handling
9.5 JDK 1.4 and exception handling
9.6 Exception handling in Servlet and JSP specifications
9.7 Exception handling – Struts way
Declarative exception handling
Using the ExceptionHandler
When not to use declarative exception handling
9.8 Logging Exceptions
9.9 Strategies for centralized logging
9.10 Reporting exceptions
9.11 Summary
Customizing the action mapping
10.1 A rudimentary page flow controller
10.2 Controlling the validation
10.3 Controlling duplicate form submissions
10.4 DispatchAction for Image Button form submissions
10.5 Summary
0 of .
Results for:
No results containing your search query
P. 1
Struts Survival Guide

Struts Survival Guide

Ratings: (0)|Views: 194|Likes:
Published by Shipra Malik

More info:

Published by: Shipra Malik on Mar 18, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 5 to 36 are not shown in this preview.
You're Reading a Free Preview
Pages 41 to 108 are not shown in this preview.
You're Reading a Free Preview
Pages 113 to 134 are not shown in this preview.
You're Reading a Free Preview
Pages 139 to 195 are not shown in this preview.
You're Reading a Free Preview
Pages 200 to 227 are not shown in this preview.

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->