Java Web Server

Configuring Servlets


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

The Configuring Servlets page allows you to enter, edit, or delete servlet configuration information for local or remote servlets. It also allows you to load and unload the servlet from the server. For more information on loading and invoking servlets, see Loading and Invoking Servlets.

The Configuring Servlets page contains two cards, Configuration and Properties, and a row of buttons.

Configuration Card

The Configuration card of the Configuring Servlets page has the following fields:

Name
The unique name of the servlet. The name must be unique to the service.
Description
A text string describing the servlet. This field can be left blank.
Class Name
The name of the associated class file for the servlet. If the servlet is part of a package, the class name should include the package name, if any. For example, if a servlet of class OrderServlet was in package com.myCompany.sales, then the class name provided here should be com.myCompany.sales.OrderServlet
Load at Startup
Whether the Java Web Server should load the servlet when the server starts.
Loaded Now
Whether the servlet is currently loaded.
Load Remotely
Whether the Java Web Server loads the servlet from a remote location.
Class File URL
The URL that points to the class file for the remote servlet.

Configuration Procedures

To Enter Information for a Servlet

To Delete Information for a Servlet

To Edit a Servlet Entry

Properties Card

The Properties card of the Configuring Servlets page has a table with two columns. The left column is titled Property and holds property names. The right column is titled Value and holds the left-column property's value. Beside the table there are three buttons: Add, Modify, and Remove.

Properties Procedures

To Enter a Property

To Change a Property

To Delete a Property

Buttons

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