Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Course Organization (Contd.)
Hour 1: Introduction to Struts
Hollywood Principle
Template Method
IoC –Its what J2EE is all about
What is a Servlet?
What is a Servlet? (contd.)
Problems with Servlet?
What is a JSP?
Anatomy of J2EE web application
JSP Programming models
Model 1 Architecture
Model 1 Architecture (contd.)
Model 2 Architecture (MVC)
Model 2 Architecture (contd.)
Problems with programmatic MVC
Enter Configurable MVC
Configurable MVC Components
So, what is Struts, after all
What else does Struts provide
Why Struts
Hands-on: Installing Struts
Introduction to Struts
Struts Request Lifecycle
A working example
Page Navigation
Example HTML Form
Participating components
ActionServlet (Contd.)
ActionServlet –web.xml setup
ActionServlet web.xml setup (contd.)
RequestProcessor process() flow
HTML Form & Struts interaction
Action reworked
struts-config.xml –8 sections
struts-config.xml sections
So much for the controller…
Struts Tag Categories (6)
How Form Tag works
Externalizing Strings
How Errors Tag works
Tags used in first exercise (11)
Hands-on: Developing your First Struts Web Application
A closer look at Exercise 1
Got Tags?
Tag Lifecycle
How Form Tag works (Recap)
How Errors Tag works (Recap)
More on how Errors Tag works
Don’t call JSP directly
Why use Image Tag <html:img>
Nested property support
Assignment solution
ImageButtonfor Form Submission
What is submitted to the server?
Struts way of ImageButton
Impact of ImageButtonon ActionForm
Impact of ImageButtonon Action
Select & Option Tags
Use Options Tag Instead
Radio Button, Checkbox
Attributes common to HTML Tags
Bean Tag Category
Multiple Resource Bundles
Another assignment
Exercise 2
Logic Tags
Logic Iterate Tag
Common attributes of Logic Tags
Limitations of Logic Tags
Limitations of Logic Tags (contd.)
Expression Language (EL)
EL & JSTL (contd.)
JSTL Crash Course
JSTL crash course (contd.)
JSTL Crash Course (contd.)
Expression Language
Where to get JSTL Binaries?
Struts and JSTL together
When to choose JSTL over Struts Tags?
Radio Box using Collection
Exercise 3
The Patterns Soup
Transfer Object
Data Access Object
Data Access Object (contd.)
Session Façade
Session Façade (contd.)
Business Delegate
Business Delegate (contd.)
Gof pattern: Abstract Factory
Customer Search Sequence
Customer Search Sequence (contd.)
The Patterns Soup?
Exercise 5 Demo
Reusing Action
Reusing Actions (contd.)
Collection of Checkboxes
Collection of Checkboxes (contd.)
Action Chaining
Indexed Properties
Pager Taglib –Sample Code
ValueListHandler Pattern
Assorted Topics
Better Form and Action Handling
Offbeat: Protecting JSPs from direct access
Offbeat: Managing Struts Config
Multipage Forms
Creating Base Form & Action
DispatchAction and Base Action
Dynamic Action Forms
Dynamic Action Forms (contd.)
Exception Handling
Exception 101
Exceptions and Servlet Specification
Exceptions and Servlet Specification (contd.)
Struts and Exception Handling
Advanced Struts Exception Handling
Best Practices for Struts and Exception Handling
Duplicate Form submissions
Synchronizer Tokens
Struts Validation
Commons Validator
Struts and Validator
In simple english
Another example
We move on to validation.xml
validation.xml –Multiple rules
Message Resources
validation.xml -Variables
Validator Configuration
Validation & Multipage forms
Struts Modules
Struts Config life in a Project
web.xml for multiple modules
Another way of using html:link
Navigating between Modules
Navigating between Modules (contd.)
Struts and Tiles
Page layout
About headers and footers
Layout JSP
Tiles Definition
Tiles and Inheritance
Tiles Best Practices
Tiles Configuration
0 of .
Results for:
No results containing your search query
P. 1
Struts for J2EE Developers-ObjectSource Training Material

Struts for J2EE Developers-ObjectSource Training Material

|Views: 34|Likes:
Published by Vairag Jain

More info:

Published by: Vairag Jain on Jan 02, 2012
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 4 to 68 are not shown in this preview.
You're Reading a Free Preview
Page 72 is not shown in this preview.
You're Reading a Free Preview
Pages 76 to 104 are not shown in this preview.

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)//-->