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:
- Servlet name
- Name of the associated class file for this servlet
- Location of the class file. For
local servlets, the entry in this column is "local". For remote servlets,
Jeeves displays the servlet's URL.
- Servlet argument list, where each argument is in the form "name=value"
- Information returned by a running servlet. If the
servlet has not yet been invoked, a "Servlet not loaded" message appears.
- Whether or not Jeeves loads the servlet when the server starts.
To enter servlet loading information for a local servlet:
- Enter a unique name for the servlet.
- 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.
- Leave the Class Location field blank.
- In the Argument field, enter comma-separated "name=value" pairs.
- To load the servlet when the server starts, click Yes.
(By default, servlets are only loaded when you activate them.)
- Click Add.
- 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.
- Enter a unique name for the servlet.
- 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.
- 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/.
- In the Argument field, enter comma-separated "name=value" pairs.
- To load the servlet when the server starts, click Yes.
(By default, servlets are only loaded when you activate them.)
- Click Add.
- To activate the servlet, enter a URL of the following form:
http://<server-host-name>/servlet/<servletName>
To delete loading information for a servlet:
- Select the entry that you want to delete.
- 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