Murach's Java Servlets and JSP (2nd Edition)
How to develop servlets
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.
|
|
|
|
The user interface for the application |
174 |
|
The code for the HTML page that calls the servlet |
176 |
|
The code for the servlet |
178 |
|
The mapping for the servlet |
180 |
|
|
How to code a servlet |
182 |
|
How to map a servlet to a URL |
184 |
|
How to request a servlet |
186 |
|
|
The methods of a servlet |
188 |
|
How to code instance variables |
190 |
|
|
How to solve common
servlet problems |
192 |
|
How to print debugging data to the console |
194 |
|
How to print debugging data to a log file |
196 |
|
t |
|
|
|
|
© Copyright 1998-2009 Mike
Murach & Associates, Inc. All rights reserved.
|