Struts: The Complete Reference, 2nd Edition

Struts: The Complete Reference, 2nd Edition

by James Holmes
Struts: The Complete Reference, 2nd Edition

Struts: The Complete Reference, 2nd Edition

by James Holmes

Paperback(REV)

$60.00 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Publisher's Note: Products purchased from Third Party sellers are not guaranteed by the publisher for quality, authenticity, or access to any online entitlements included with the product.


Strut your stuff with this completely up-to-date guide

Struts guru James Holmes has completely revised and updated his definitive, bestselling Struts volume. You will get soup-to-nuts coverage of Struts 1.3, the latest version of the framework used to create flexible, high-performance web applications. The book features insider tips, tricks, and techniques to make Struts applications sizzle.


Product Details

ISBN-13: 9780072263862
Publisher: McGraw Hill LLC
Publication date: 12/11/2006
Series: Complete Reference Ser.
Edition description: REV
Pages: 800
Product dimensions: 7.30(w) x 9.10(h) x 1.35(d)

About the Author

James Holmes is a leading Java Web development authority. He is a committer on the Struts project, and the creator of the most popular Struts tool, the Struts Console. Holmes is the author of the first edition of Struts: The Complete Reference and the co-author of JavaServer Faces: The Complete Reference and The Art of Java.

Table of Contents

Acknowledgmentsxix
Part IThe Struts Framework
1An Introduction to Struts3
A Brief History of Web Application Development3
Two Development Models5
A Closer Look at the Model-View-Controller Architecture7
Enter Struts7
Basic Components of Struts9
Acquiring Struts10
Getting Started with Struts11
2Building a Simple Struts Application13
Application Overview13
Compiling, Packaging, and Running the Application39
Understanding the Flow of Execution44
3The Model Layer47
What Is the Model?47
Struts and the Model48
Reviewing the Model Layer of the Mini HR Application49
4The View Layer53
Struts and the View Layer53
Reviewing the View Layer of the Mini HR Application64
Alternative View Technologies69
5The Controller Layer71
Struts and the Controller Layer71
The ActionServlet Class72
The RequestProcessor Class74
The Action Class76
The ActionForward Class87
Reviewing the Controller Layer of the Mini HR Application89
6Validator91
Validator Overview92
Using Validator92
Creating Custom Validations103
Internationalizing Validations108
Adding Validator to the Mini HR Application110
7Tiles117
Tiles Overview119
Using Tiles119
Internationalizing Tiles126
Using the Tiles Tag Library129
The Tiles Tag Library Tags130
Adding Tiles to the Mini HR Application141
8Declarative Exception Handling151
Configuring Struts' Exception Handler152
Creating a Custom Exception Handler153
Adding Declarative Exception Handling to the Mini HR Application156
9Struts Modules163
Using Modules164
Using Validator with Modules167
Using Tiles with Modules168
Converting the Mini HR Application to Use Modules169
10Internationalizing Struts Applications177
Understanding Java's Internationalization Support177
Understanding Struts' Internationalization Support181
Internationalizing the Mini HR Application185
Part IIThe Struts Tag Libraries
11The HTML Tag Library195
Understanding Variables and Scope in JSP Pages195
Using the HTML Tag Library196
The HTML Tag Library Tags197
Common Tag Attributes251
12The Bean Tag Library255
Understanding Variables and Scope in JSPs255
Using the Bean Tag Library256
The Bean Tag Library Tags257
13The Logic Tag Library283
Understanding Variables and Scope in JSPs283
Using the Logic Tag Library285
The Logic Tag Library Tags285
14The Nested Tag Library325
Understanding Object Nesting in Struts325
Using the Nested Tag Library327
The Nested Tag Library Tags327
15Using JSTL with Struts333
JSTL Overview333
Using JSTL with Struts340
Part IIIStruts Configuration Files
16The Struts Configuration File353
Understanding XML DTDs353
Configuring the web.xml Deployment Descriptor354
The Struts Configuration File Tags356
Metadata Tags375
Editing Struts Configuration Files with Struts Console375
17The Tiles Configuration File377
Understanding XML DTDs377
Enabling the Tiles Plugin378
The Tile Configuration File Tags379
Metadata Tags386
Editing Tiles Configuration Files with Struts Console387
18The Validator Configuration Files389
Two Configuration Files389
Understanding XML DTDs390
Enabling the Validator Plugin391
The Validator Configuration File Tags391
Editing Validator Configuration Files with Struts Console405
Part IVApplying Struts
19Securing Struts Applications409
Levels of Security409
Using Container-Managed Security412
Application-Managed Security420
20Testing Struts Applications435
Types of Testing435
Unit Testing Struts Applications436
Use-Case-Driven Testing453
Testing Application Performance458
Part VAppendix
AStruts Console Quick Reference465
Acquiring and Installing Struts Console468
Using Struts Console as a Stand-alone Application468
Using Struts Console Inside Borland JBuilder470
Using Struts Console Inside Eclipse472
Using Struts Console Inside IBM WebSphere Studio Application Developer475
Using Struts Console Inside IntelliJ IDEA478
Using Struts Console Inside NetBeans and Sun Java Studio480
Using Struts Console Inside Oracle JDeveloper482
Configuring the Struts Console Output Options484
Index487
From the B&N Reads Blog

Customer Reviews