Start of Tutorial > Start of Trail | Search |
Once you have written your servlet, you can test it with the utility included in the JSDK. The JSDK 2.0 has a utility called
servletrunner
, while JSDK 2.1 comes with a small HTTP server. This section discusses setting up and running those utilities.
You might have to specify certain pieces of data to run a servlet. For example, if a servlet requires initialization parameters, you must set up this data before starting the JSDK process that runs your servlet.
After the property file is set up, you can run servlets in the server included with the JSDK2.1. This section explains how.
After the property file is set up, you can run servlets in the
servletrunner
utility. This section explains how.
Start of Tutorial > Start of Trail | Search |