Servlet Loading


Use this page to enter, edit, or delete servlet loading information for local or remote servlets. After you've loaded a servlet, you can invoke it whenever you want to.

For each servlet, Jeeves displays the following information:

To enter servlet loading information for a local servlet:

  1. Enter a unique name for the servlet.
  2. Enter the servlet's class name, which consists of the package name without the ".class" extension. For example, "sun.server.http.FileServlet" is a valid class name.
  3. Leave the Class Location field blank.
  4. In the Argument field, enter comma-separated "name=value" pairs.
  5. To load the servlet when the server starts, click Yes.
    (By default, servlets are only loaded when you activate them.)
  6. Click Add.
  7. To activate the servlet, enter a URL of the following form:
    http://<server-host-name>/servlet/<servletName>

To enter servlet loading information for a remote servlet:

Note: Make sure that the name of the remote servlet is not included in the local CLASSPATH statement for the server. The server always loads servlets whose names are specified in the local CLASSPATH statement before loading remote servlets. If the server finds a local servlet with the same class name as a remote servlet, it will load the local servlet first.

  1. Enter a unique name for the servlet.
  2. Enter the servlet's class name, which consists of the package name without the ".class" extension. For example, "sun.server.http.FileServlet" is a valid class name.
  3. In the Class Location field, enter the full URL, ending with a slash, of the servlet's class file on the remote server. For example, if HelloWorld.class exists on a remote Jeeves server named galaxy.com in the top level public_html directory, then the URL is http://galaxy.com/.
  4. In the Argument field, enter comma-separated "name=value" pairs.
  5. To load the servlet when the server starts, click Yes.
    (By default, servlets are only loaded when you activate them.)
  6. Click Add.
  7. To activate the servlet, enter a URL of the following form:
    http://<server-host-name>/servlet/<servletName>

To delete loading information for a servlet:

  1. Select the entry that you want to delete.
  2. Click Delete.

To edit a servlet entry: Select the entry, delete it, and re-enter it.


jeeves@goa.eng.sun.com
Last modified: 11/11/96