Once you have written your servlet, you can test it in the
servletrunneris a small, multithreaded process that handles requests for servlets. Because
servletrunneris multi-threaded, it can be used to run multiple servlets simultaneously, or to test one servlet that calls other servlets to satisfy client requests.
Unlike some web servers,
servletrunnerdoes not automatically reload updated servlets. However you can stop and restart
servletrunnerwith very little overhead to run a new version of a servlet.
Setting Servlet Properties
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
After the property file is set up, you can run the
servletrunnerutility. This section explains how.