Flylib.com
Struts Kick Start
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177
Authors:
James Turner
,
Kevin Bedell
BUY ON AMAZON
Main Page
Table of content
Copyright
About the Authors
Acknowledgments
We Want to Hear from You
Introduction
Who Should Read This Book?
What Do You Need to Bring to the Table?
What Does This Book Cover?
Tools You ll Need
How This Book Is Organized
The Companion Web Site
Conventions Used in This Book
Updates and Corrections
Chapter 1. Struts in Context
The Parable of the Carpenter
What Is Struts?
State of Struts: Where Things Are Right Now
Faces Behind the Code: Struts Development
Where Struts Is Going
Conclusions
Chapter 2. The Model-View-Controller Design Pattern: Model 2 JSP Development
The Model-View-Controller Design Pattern
The Origins of Model 1 Model 2
How Struts Implements the Model 2 Pattern
Conclusions
Chapter 3. Hello World: A First Struts Application
Hello World Application Requirements
Applying the Model-View-Controller Pattern
The View Component: The HTML Form and the Form Bean
MessageResources and Application.properties Files
The Struts Form Bean: HelloForm.java
Data Validation and ActionError s
The Controller Component: HelloAction.java
The Model Component ( HelloModel.java )
Passing Data to the View Using Attributes: Constants.java
Tying It All Together: The struts-config.xml File
Conclusions
Chapter 4. HTTP Protocol: Web Application Communications and Control
HTTP Protocol and the RequestResponse Cycle
Control Information: HTTP Headers and HTTP Response Codes
HTTP Cookies and SessionUser Management
Conclusions
Chapter 5. JSP, Taglibs, and JSTL: Extending Java onto the Page
Servlets and JSP
Object Scoping with JSP
Hiding Business Logic Using Beans
JSP Custom Tags
Web Application Deployment
JSTL: The Standard Tag Library
JSP and J2EE: The Big Picture
J2EE and Struts
Conclusions
Chapter 6. The Sample Application: A Financial Portfolio
Requirements: Covering Your Rear End
Starting with the Wireframes
Developing Use Cases
Data Sources and Storage
Choosing Technologies
Conclusions
Chapter 7. View Components: What the End User Sees
The ActionForm
JSP Files: The Alpha and the Omega
The Perils of Automatic Type Conversion
The html:errors Tag
Internationalization
Conclusions
Chapter 8. The Controller: Directing the Action
The Action Class
Accessing the Session and Other Form Beans
User Validation and Struts
Transferring Control Inside and Outside the Application
Conclusions
Chapter 9. Model Components: Modeling the Business
Well-Designed Models
Further Isolation Techniques
Conclusions
Chapter 10. The struts-config.xml File: Tying All the Pieces Together
The struts-config DTD
The Configuration File in Context
Conclusions
Chapter 11. How the Struts Tag Libraries Work: The View from Inside
Review of JSP Tag Libraries
Understanding How Struts Tags Work: The bean:page Tag
Comparison to the Java Standard Tag Library
Conclusions
Chapter 12. Struts HTML Tags: Page Construction and Form Processing
Struts Tags, JSP Custom Tags, and Java Scriptlets: What s the Right Balance?
Using Struts HTML Tags to Render Basic HTML Elements
The Basics of Form Processing
Check Boxes and Radio Buttons
Drop Downs and SelectOption Lists
Input Validation and html:errors
Uploading a File Using html:file
Conclusions
Chapter 13. Struts Bean Tags: Storing and Passing Data
Using Struts Bean Tags That Access Aspects of the Servlet Context
Using Struts Bean Tags That Access Java Resources
Using Struts Bean Tags That Access Bean Properties
Conclusions
Chapter 14. Struts Logic Tags: Conditional Presentation Logic
Using Struts Logic Tags That Perform Conditional Display Based on a Value
Using Struts Logic Tags That Match Substrings
Using the Struts Logic Tags for Iteration
Using the Struts Logic Tags to Test for Absence or Presence of Values
Using the Struts Logic Tags to Transfer Control
Conclusions
Chapter 15. The Nested and Template Struts Tag Libraries: Handling Subproperties and Inserting Content
Using the Struts Nested Tags
Using the Struts Template Tags
Conclusions
Chapter 16. The Struts Tiles Tag Library: Creation Master Document Templates
A Tiles Overview
Enabling Tiles
The Definitions Configuration File
Writing JSP Files for Tiles
Modifying Your Actions
Putting It All Together
Other Aspects of Tiles
Conclusions
Chapter 17. DynaForm s and the Validator
DynaForm s: Forms Without Java
The Validator: Automating Field Checking
Conclusions
Chapter 18. Using Struts with Enterprise JavaBeans
EJBs Fit with Model Components
Quick Review of EJB Technologies
Using Different EJB Types with Struts
A StrutsEJB Sample Application
Conclusions
Chapter 19. Using Struts with Web Services
Web Services Fit with Struts Model Components
A Quick Review of Web Service Technologies
How to Use Struts with a Web Service
A StrutsWeb Service Sample Application
Conclusions
Chapter 20. Building, Deploying, and Testing Struts Applications
An Integrated and Incremental BuildTest Cycle: It s Extreme
Building and Deploying Struts Applications Using Jakarta Ant
Developing a build.xml File for Building Struts Applications Using Ant
Extreme Struts Development with Integrated and Ongoing Testing
Mock Object Testing Using JUnit, StrutsTestCase, and Ant
In-Container Testing Using Cactus, JUnit, StrutsTestCase, and Ant
Conclusions
Appendix A. Installing Struts and the Sample Applications from the CD
Listing of Applications Included on the Companion CD-ROM
Step 1: Install the JDK and Tomcat
Step 2: Install MySQL
Copy the WAR Files to the Tomcat webapps Directory
Restart Tomcat
Index
Index SYMBOL
Index A
Index B
Index C
Index D
Index E
Index F
Index G
Index H
Index I
Index J
Index K
Index L
Index M
Index N
Index O
Index P
Index R
Index S
Index T
Index U
Index V
Index W
Struts Kick Start
ISBN: 0672324725
EAN: 2147483647
Year: 2002
Pages: 177
Authors:
James Turner
,
Kevin Bedell
BUY ON AMAZON
Adobe After Effects 7.0 Studio Techniques
Putting Masks in Motion
Blending Modes: The Real Deal
5D: Pick Up the Camera
Climate: Air, Water, Smoke, Clouds
Particulate Matter
MySQL Clustering
Ensuring That MySQL Cluster Works
Configuration
Troubleshooting Backups
What to Look for When Something Goes Wrong
A MySQL Cluster Binaries
The New Solution Selling: The Revolutionary Sales Process That Is Changing the Way People Sell [NEW SOLUTION SELLING 2/E]
Chapter One Solutions
Chapter Two Principles
Chapter Ten Vision Re-engineering
Chapter Fifteen Sales Management System: Managers Managing Pipelines and Salespeople
Appendix B Solution Selling: A Scalable Approach
PMP Practice Questions Exam Cram 2
Project PlanningCore Processes
Project PlanningFacilitating Processes
Answers and Explanations
Answers and Explanations
Exam Prep Questions
HTI+ Home Technology Integrator & CEDIA Installer I All-In-One Exam Guide
Trim-Out Installation
Computer Network Basics
Distributed Video Basics
Designing and Installing a Home Telephone System
User Interfaces
The Oracle Hackers Handbook: Hacking and Defending Oracle
Attacking the TNS Listener and Dispatchers
Attacking the Authentication Process
Oracle and PL/SQL
Defeating Virtual Private Databases
Accessing the Network
flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net
Privacy policy
This website uses cookies. Click
here
to find out more.
Accept cookies