Murach's Java Servlets and JSP
This chapter shows how to code JavaServer Pages (JSPs). In particular, it shows how to code a JSP that uses scriptlets, expressions, parameters, and regular Java classes to write data to a text file.
To see how well this chapter works, you can
download this chapter for free.
|
|
|
|
The user interface for the application |
102 |
|
The code for the HTML page that calls the
JSP |
104 |
|
The code for the JSP |
106 |
|
|
How to code scriptlets and expressions |
108 |
|
How to use the methods of the request object |
110 |
|
Where and how to save a JSP |
112 |
|
How to request a JSP |
114 |
|
When to use the Get and Post methods |
116 |
|
|
The code for the User and UserIO classes |
118 |
|
Where and how to save and compile regular
Java classes |
120 |
|
A JSP that uses the User and UserIO classes |
122 |
|
|
How to import classes |
124 |
|
How to code comments in a JSP |
126 |
|
How to declare instance variables and methods |
128 |
|
A JSP that imports classes and declares instance
variables |
130 |
|
|
How to debug JSP errors |
132 |
|
How to use a custom error page |
134 |
|
When and how to view the servlet that's generated
for a JSP |
136 |
|
t |
|
|
|
|
© Copyright 1998-2008 Mike
Murach & Associates, Inc. All rights reserved.
|