Java Web Server

Adding Servlets


Contents / Administrator Docs / Developer Docs / Index / AdminTool Contents

The Add Servlet setup page allows you to add a new servlet and servlet class to your service. After you've loaded a servlet, you can invoke it whenever you want to by:

Note: For more information on loading and invoking servlets, see Loading and Invoking Servlets.

Settings

The Add Servlet setup page has the following two options:

Servlet Name
Enter the unique name of the servlet you are adding.

Servlet Class
Enter the name of the Java class for the servlet. This consists of the package name without the ".class" extension. For example, "com.sun.server.webserver.FileServlet" is a valid class name.

Bean Servlet
Indicate if the Servlet you are adding is a Bean Servlet or not. If it is a Bean Servlet, type in the name of associated jar file.

Buttons

To make changes to the Add Servlet setup page and have those settings take affect, use the two buttons at the bottom of the screen. These are:
Top
java-server-feedback@java.sun.com
Copyright © 1997 Sun Microsystems, Inc.
All Rights Reserved.