When the ServletParameterTest servlet is successfully run
from a browser without specifying any parameters, the output
will be:
Parameter Test Servlet
null, I'm glad to see that you have achieved the position of null
|
When the servlet is run with parameters, they will be reflected
in the browser's display. For example, using the following parameters:
.../ServletParameterTest?name=Sam&position=president
will produce the following output:
Parameter Test Servlet
Sam, I'm glad to see that you have achieved the position
of president
|
Copyright © 1998 MageLang
Institute.
All Rights Reserved.