Struts: Essential Skills

Struts: Essential Skills

Struts: Essential Skills

Struts: Essential Skills

Paperback(First Edition)

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

Related collections and offers


Overview

Struts is an open source framework that integrates with standard Java technologies letting developers build web appliactions quickly and eefectively.

Product Details

ISBN-13: 9780072256598
Publisher: McGraw-Hill/Osborne Media
Publication date: 07/29/2004
Series: Essential Skills (McGraw Hill)
Edition description: First Edition
Pages: 380
Product dimensions: 7.40(w) x 9.12(h) x 0.83(d)

Table of Contents

Acknowledgmentsxvii
Introductionxix
1Creating Web Applications1
All About Struts2
Why "Struts"?4
Who Creates and Maintains Struts?4
Critical Skill 1.1Get and Install Tomcat5
Running Tomcat6
Critical Skill 1.2Use JSP8
Scripting Elements10
Comments11
Directives12
Actions12
Reading Data from Web Pages13
Critical Skill 1.3Work with JavaBeans14
Creating a Bean15
Connecting to a Bean17
Creating Bean Properties18
Connecting to Bean Properties20
Critical Skill 1.4Work with Servlets22
Writing a Servlet23
Compiling a Servlet25
Installing a Servlet25
The Life Cycle of a Servlet27
Module 1 Mastery Check30
2Struts Essentials33
Critical Skill 2.1Use MVC Architecture34
Model 1 Architecture34
Model 2 Architecture34
Critical Skill 2.2Understand How Struts Works35
The Welcome Page36
The ActionServlet37
ActionMappings38
Action Forms40
Actions41
The Results Page45
Critical Skill 2.3Develop a Struts Skeleton: struts-blank.war46
index.jsp49
struts-config.xml49
Welcome.jsp50
Critical Skill 2.4Write Forms and Actions: a Struts Example53
Use Struts 1.262
Module 2 Mastery Check62
3Handling User Input65
Critical Skill 3.1Read User Input66
The Welcome Page67
The Action Form68
The Action69
The Results Page72
Critical Skill 3.2Create a Full Struts Example74
The Custom JSP Tags75
The Welcome Page81
The Action Form84
The Action86
The Results Page90
Installing the Files91
Use Struts 1.292
Module 3 Mastery Check94
4Working with Models and ActionForms97
Critical Skill 4.1Work with Models98
Creating the Model104
Use Struts 1.2105
Passing Action Forms to the Model106
Critical Skill 4.2Work with Action Forms108
Populating HTML Controls with Data from the Action Form110
Validating Data with the Action Form115
Using DynaActionForms118
Use Struts 1.2123
Module 4 Mastery Check124
5Using Actions127
Critical Skill 5.1Use the [left angle bracket]action[right angle bracket] Element128
Using Action Classes131
The execute Method134
What About Exceptions?136
Critical Skill 5.2Use ForwardAction139
Critical Skill 5.3Use IncludeAction141
Critical Skill 5.4Use DispatchAction144
Critical Skill 5.5Use LookupDispatchAction149
Critical Skill 5.6Use SwitchAction152
Use Struts 1.2154
Module 5 Mastery Check154
6The Struts [left angle bracket]html[right angle bracket] Tags157
Critical Skill 6.1Use the [left angle bracket]html:html[right angle bracket] Tag161
Critical Skill 6.2Use the [left angle bracket]html:form[right angle bracket] Tag162
Critical Skill 6.3Use the [left angle bracket]html:submit[right angle bracket] Tag163
Critical Skill 6.4Use the [left angle bracket]html:cancel[right angle bracket] Tag164
Critical Skill 6.5Use the [left angle bracket]html:text[right angle bracket] Tag165
Critical Skill 6.6Use the [left angle bracket]html:errors[right angle bracket] Tag166
Critical Skill 6.7Use the [left angle bracket]html:textarea[right angle bracket] Tag168
Critical Skill 6.8Use the [left angle bracket]html:checkbox[right angle bracket] Tag169
Critical Skill 6.9Use the [left angle bracket]html:radio[right angle bracket] Tag171
Critical Skill 6.10Use the [left angle bracket]html:button[right angle bracket] Tag174
Critical Skill 6.11Use the [left angle bracket]html:link[right angle bracket] Tag175
Critical Skill 6.12Use the [left angle bracket]html:img[right angle bracket] Tag176
Critical Skill 6.13Use the [left angle bracket]html:image[right angle bracket] Tag178
Critical Skill 6.14Use the [left angle bracket]html:select[right angle bracket] and [left angle bracket]html:option[right angle bracket] Tags182
Critical Skill 6.15Use the [left angle bracket]html:multibox[right angle bracket] Tag184
Critical Skill 6.16Use the [left angle bracket]html:file[right angle bracket] Tag186
Use Struts 1.2189
Module 6 Mastery Check189
7The Struts [left angle bracket]logic[right angle bracket] and [left angle bracket]bean[right angle bracket] Tags193
The [left angle bracket]logic[right angle bracket] Tags194
Critical Skill 7.1Use the [left angle bracket]logic:empty[right angle bracket] and [left angle bracket]logic:notEmpty[right angle bracket] Tags198
Critical Skill 7.2Use the [left angle bracket]logic:equal[right angle bracket] and [left angle bracket]logic:notEqual[right angle bracket] Tags199
Critical Skill 7.3Use the [left angle bracket]logic:greaterEqual[right angle bracket] and [left angle bracket]logic:greaterThan[right angle bracket] Tags201
Critical Skill 7.4Use the [left angle bracket]logic:lessEqual[right angle bracket] and [left angle bracket]logic:lessThan[right angle bracket] Tags203
Critical Skill 7.5Use the [left angle bracket]logic:match[right angle bracket] and [left angle bracket]logic:notMatch[right angle bracket] Tags204
Critical Skill 7.6Use the [left angle bracket]logic:present[right angle bracket] and [left angle bracket]logic:notPresent[right angle bracket] Tags206
Critical Skill 7.7Use the [left angle bracket]logic:iterate[right angle bracket] Tag207
Critical Skill 7.8Use the [left angle bracket]logic:forward[right angle bracket] and [left angle bracket]logic:redirect[right angle bracket] Tags208
The [left angle bracket]bean[right angle bracket] Tags210
Critical Skill 7.9Use the [left angle bracket]bean:cookie[right angle bracket] Tag214
Critical Skill 7.10Use the [left angle bracket]bean:define[right angle bracket] Tag215
Critical Skill 7.11Use the [left angle bracket]bean:header[right angle bracket] Tag216
Critical Skill 7.12Use the [left angle bracket]bean:message[right angle bracket] Tag217
Critical Skill 7.13Use the [left angle bracket]bean:parameter[right angle bracket] Tag219
Critical Skill 7.14Use the [left angle bracket]bean:struts[right angle bracket] Tag220
Critical Skill 7.15Use the [left angle bracket]bean:write[right angle bracket] Tag222
Use Struts 1.2223
Module 7 Mastery Check223
8Creating Custom Tags225
Critical Skill 8.1Use a Text-Inserting Tag227
Creating TLD Files228
Supporting Custom Tags in Java230
Using the Page Context232
Support Tag Attributes235
Critical Skill 8.2Create Iterating Tags239
Critical Skill 8.3Create Cooperating Tags242
Critical Skill 8.4Use Custom Tags That Create Variables247
Module 8 Mastery Check250
9The Struts Validator Framework253
Critical Skill 9.1Use the Validator Framework260
Critical Skill 9.2Use the Standard Rules262
Critical Skill 9.3Create Your Own Rules265
Critical Skill 9.4Handle Bytes266
Critical Skill 9.5Handle Shorts269
Critical Skill 9.6Handle Integers269
Critical Skill 9.7Handle Integer Ranges269
Critical Skill 9.8Handle Longs271
Critical Skill 9.9Handle Floats271
Critical Skill 9.10Handle Float Ranges272
Critical Skill 9.11Handle Doubles272
Critical Skill 9.12Handle Dates272
Critical Skill 9.13Handle Credit Cards273
Critical Skill 9.14Handle Masks273
Critical Skill 9.15Validate Using Constants274
Critical Skill 9.16Display Errors275
Critical Skill 9.17Use DynaActionForm Objects and Validation277
Use JavaScript for Validation278
Use Struts 1.2279
Module 9 Mastery Check279
10The Tiles Framework283
Working with Tiles285
Installing Tiles286
Critical Skill 10.1Create a Basic Page288
Creating the Layout290
Critical Skill 10.2Use [left angle bracket]tiles:putList[right angle bracket]294
Critical Skill 10.3Use the [left angle bracket]definition[right angle bracket] Tag298
Critical Skill 10.4Use XML-Based Definitions299
Critical Skill 10.5Overload Definitions301
Critical Skill 10.6Extend Definitions302
Critical Skill 10.7Use Definitions as Attributes304
Critical Skill 10.8Use a Definition as an ActionForward305
Module 10 Mastery Check308
11Using Eclipse with Struts311
Critical Skill 11.1Download and Install Eclipse314
The Parts of Eclipse315
The Platform Kernel315
The Eclipse Workbench315
The Eclipse Workspace315
The Team Component316
The Help Component316
Critical Skill 11.2Use Eclipse Views, Editors, and Perspectives316
Critical Skill 11.3Create a Struts Application with Eclipse317
Critical Skill 11.4Create a New Eclipse Project318
Critical Skill 11.5Add a JSP to an Eclipse Project321
Critical Skill 11.6Create a Java Class323
Critical Skill 11.7Edit struts-config.xml333
Critical Skill 11.8Add the Results Page to the Project335
Critical Skill 11.9Connect Eclipse to Ant338
Module 11 Mastery Check343
AAnswers to Mastery Checks345
Module 1: Creating Web Applications346
Module 2: Struts Essentials348
Module 3: Handling User Input350
Module 4: Working with Models and ActionForms352
Module 5: Using Actions354
Module 6: The Struts [left angle bracket]html[right angle bracket] Tags356
Module 7: The Struts [left angle bracket]logic[right angle bracket] and [left angle bracket]bean[right angle bracket] Tags358
Module 8: Creating Custom Tags360
Module 9: The Struts Validator Framework362
Module 10: The Tiles Framework364
Module 11: Using Eclipse with Struts366
Index369
From the B&N Reads Blog

Customer Reviews