About the Authors |
|
ix | |
About the Editor |
|
xi | |
About the Technical Reviewer |
|
xiii | |
Introduction |
|
xv | |
Chapter 1 Creating Your First JSP Page |
|
1 | (22) |
|
|
1 | (8) |
|
Creating Your First Web Application |
|
|
9 | (4) |
|
Exploring a Brief History of Java and the Web |
|
|
13 | (8) |
|
|
21 | (2) |
Chapter 2 Learning How HTML Works |
|
23 | (38) |
|
|
23 | (17) |
|
|
40 | (3) |
|
|
43 | (15) |
|
Finding Further Resources |
|
|
58 | (1) |
|
|
59 | (2) |
Chapter 3 Introducing JSP |
|
61 | (26) |
|
Understanding the Available Object Scope |
|
|
61 | (1) |
|
Understanding JSP Code Types |
|
|
62 | (12) |
|
Using the Java Standard Tag Library (JSTL) |
|
|
74 | (5) |
|
Processing Forms with the JSTL |
|
|
79 | (6) |
|
|
85 | (2) |
Chapter 4 Working with Data |
|
87 | (38) |
|
|
87 | (10) |
|
|
97 | (10) |
|
Manipulating the Database |
|
|
107 | (12) |
|
Revisiting the Pizza Application |
|
|
119 | (5) |
|
|
124 | (1) |
Chapter 5 Making Decisions, Decisions |
|
125 | (42) |
|
|
126 | (7) |
|
|
133 | (1) |
|
|
134 | (1) |
|
|
135 | (1) |
|
Introducing Conditional Statements |
|
|
136 | (17) |
|
Understanding Loops and Iteration |
|
|
153 | (5) |
|
Introducing Branching Statements |
|
|
158 | (7) |
|
|
165 | (2) |
Chapter 6 Reusing Code |
|
167 | (40) |
|
|
168 | (1) |
|
|
169 | (10) |
|
Understanding Mechanisms for Reuse |
|
|
179 | (10) |
|
|
189 | (16) |
|
|
205 | (2) |
Chapter 7 Performing Time Management |
|
207 | (16) |
|
Introducing the Date Class |
|
|
207 | (8) |
|
Formatting Dates with the JSTL |
|
|
215 | (6) |
|
|
221 | (2) |
Chapter 8 Using JSP and XML Together |
|
223 | (32) |
|
|
223 | (2) |
|
Understanding the Structure of XML Data |
|
|
225 | (7) |
|
Defining Validity with Schemas |
|
|
232 | (17) |
|
Understanding XSL Transformations |
|
|
249 | (5) |
|
|
254 | (1) |
Chapter 9 Going Behind the Scenes |
|
255 | (44) |
|
Web Applications and web.xml |
|
|
256 | (7) |
|
Introducing the Java Servlet Technology |
|
|
263 | (3) |
|
|
266 | (4) |
|
|
270 | (6) |
|
Collaboration Between Servlets |
|
|
276 | (8) |
|
Getting Initialization Information |
|
|
284 | (4) |
|
|
288 | (9) |
|
|
297 | (2) |
Chapter 10 Implementing the Model 2 Architecture and Using Struts |
|
299 | (64) |
|
Architecture of Web Applications |
|
|
300 | (4) |
|
|
304 | (4) |
|
Installing and Configuring Struts |
|
|
308 | (5) |
|
The Struts Configuration File |
|
|
313 | (17) |
|
|
330 | (9) |
|
Introducing the Struts Tag Libraries |
|
|
339 | (17) |
|
|
356 | (5) |
|
|
361 | (2) |
Appendix A JSP Syntax Reference |
|
363 | (18) |
|
|
364 | (1) |
|
|
365 | (4) |
|
|
369 | (2) |
|
|
371 | (7) |
|
|
378 | (1) |
|
|
379 | (2) |
Appendix B JSP Implicit Objects |
|
381 | (24) |
|
|
382 | (7) |
|
|
389 | (5) |
|
|
394 | (3) |
|
|
397 | (2) |
|
|
399 | (3) |
|
|
402 | (1) |
|
|
403 | (1) |
|
|
403 | (1) |
|
|
403 | (2) |
Appendix C XML Configuration Files |
|
405 | (26) |
|
Common Elements of web.xml |
|
|
405 | (13) |
|
Common Elements of the Tag Library Descriptor |
|
|
418 | (5) |
|
Common Elements of the Struts Config File |
|
|
423 | (8) |
Appendix D Getting More Information |
|
431 | (10) |
|
Java Development Kit Documentation |
|
|
431 | (5) |
|
Tomcat and JSP/Servlet Documentation |
|
|
436 | (3) |
|
|
439 | (2) |
Index |
|
441 | |