Mastering Jakarta Struts

Free Download

Authors:

Edition: 1st

ISBN: 0471213020, 9780471213024

Size: 1 MB (1214223 bytes)

Pages: 262/262

File format:

Language:

Publishing Year:

Category:

James Goodwill0471213020, 9780471213024

Jakarta Struts Project provides an open source framework for creating Web applications that leverage both the Java Servlets and JavaServer Pages technologies. Struts has received developer support and is quickly becoming a dominant actor in the open source community. * James Goodwill is a well-respected authority and bestselling author of books on Java Web applications * Provides a hands-on, code-intensive tutorial on building Java Web applications using the Jakarta Struts Framework * Companion Web site provides electronic versions of all code examples in the book

Table of contents :
Mastering Jakarta Struts……Page 2
Table of Contents……Page 4
The Organization of the Book……Page 8
Understanding the MVC Design Pattern……Page 10
The Struts Implementation of the MVC……Page 11
The Directory Structure……Page 13
The Web Application Deployment Descriptor……Page 14
Installing and Configuring Tomcat……Page 15
Testing Your Tomcat Installation……Page 16
Summary……Page 18
The Java Servlet Architecture……Page 19
The GenericServlet and HttpServlet Classes……Page 20
The Life Cycle of a Servlet……Page 21
Building a Servlet……Page 22
The ServletContext……Page 25
Using Servlets to Retrieve HTTP Data……Page 29
What Are JavaServer Pages?……Page 33
The Components of a JavaServer Page……Page 34
Summary……Page 54
Obtaining and Installing the Jakarta Struts Project……Page 55
Creating Your First Struts Application……Page 56
Creating the Views……Page 57
Walking through the wileystruts Web Application……Page 65
Summary……Page 68
The ActionServlet Class……Page 69
Extending the ActionServlet……Page 70
Configuring the ActionServlet……Page 71
The Action Class……Page 72
The execute() Method……Page 73
Configuring the Action Class……Page 74
init()……Page 76
Creating a Plugin……Page 77
Configuring a Plugin……Page 78
Creating a New RequestProcessor……Page 79
Summary……Page 81
Deploying JSPs to a Struts Application……Page 82
JSPs that Gather Data……Page 83
Summary……Page 88
The Controller……Page 89
The View……Page 91
Internationalizing the wileystruts Application……Page 92
Summary……Page 96
ActionError……Page 97
ActionErrors……Page 98
Adding Error Handling to the wileystruts Application……Page 99
The ActionForm.validate() Method……Page 100
……Page 101
Error Management in the Action.perform() Method……Page 103
Summary……Page 106
What Is an ActionMapping?……Page 107
Creating a Custom ActionMapping……Page 108
Creating an ActionMapping Extension for the wileystruts Application……Page 109
Using the wiley.WileyActionMapping Extension in the wileystruts Application……Page 110
Summary……Page 113
Using a DataSource in Your Struts Application……Page 114
Creating a Sample Database……Page 115
Using a DataSource in a Struts Application……Page 116
Summary……Page 120
Embedding Tomcat into a Java Application……Page 121
Debugging a Struts Application……Page 127
Setting Up the Debug Environment……Page 128
Debugging the wileystruts Application……Page 131
Summary……Page 132
Preparing the Employees Application……Page 133
Creating the Employees Model……Page 138
Building the Employees Application……Page 144
Summary……Page 183
The Struts Subelements……Page 184
The Subelement……Page 185
Adding a Struts DataSource……Page 186
Adding FormBean Definitions……Page 188
Adding Actions……Page 189
Adding a RequestProcessor……Page 191
Adding Message Resources……Page 192
Adding a Plug-in……Page 193
……Page 194
……Page 195
……Page 196
……Page 197
……Page 198
……Page 199
……Page 200
……Page 201
……Page 202
……Page 204
……Page 207
……Page 209
……Page 211
……Page 212
……Page 213
……Page 214
……Page 215
……Page 218
……Page 220
……Page 223
……Page 226
……Page 228
……Page 230
……Page 232
……Page 234
……Page 236
……Page 238
……Page 239
……Page 241
……Page 244
……Page 247
……Page 248
……Page 249
……Page 250
……Page 252
……Page 253
……Page 255
……Page 256
……Page 257
……Page 258
……Page 259
……Page 260
……Page 261
……Page 262

Reviews

There are no reviews yet.

Be the first to review “Mastering Jakarta Struts”
Shopping Cart
Scroll to Top