Murach's Java Servlets and JSP
This chapter shows how to code servlets. In particular, it shows how to code a servlet that gets parameters from an HTML form, writes that data to a text file, and returns an HTML page that displays the data.
To see how well this chapter works, you can
download this chapter for free.
|
|
|
|
The user interface for the application |
142 |
|
The code for the EmailServlet class |
144 |
|
|
How to code a servlet |
146 |
|
How to save and compile a servlet |
148 |
|
How to request a servlet |
150 |
|
|
The methods of a servlet |
152 |
|
How to code instance variables |
154 |
|
How to code thread-safe servlets |
156 |
|
|
Common servlet problems |
158 |
|
How to print debugging data to the console |
160 |
|
How to write debugging data to a log file |
162 |
|
t |
|
|
|
|
© Copyright 1998-2008 Mike
Murach & Associates, Inc. All rights reserved.
|