Java Web Server 1.1 - Loading and Invoking Servlets

JavaServer

Loading and Invoking Servlets


Contents / New Features / Developer Docs / Administrator Docs / Index / Servlet Features

Loading Servlets

Servlets can be loaded from any one of these places:

Loading Remote Servlets

Remote servlets can be loaded by:

NOTE: Remote servlets can have security implications. For more information, see Servlet Sandbox.

Identifying Servlets

Servlets are identified by <servletName> which is either:

Invoking Servlets

A servlet invoker is a servlet that invokes the "service" method on a named servlet. If the servlet is not loaded in the server, then the invoker first loads the servlet (either from local disk or from the network) and then invokes the "service" method. Also like applets, local servlets in the server can be identified by just the class name. In other words, if a servlet name is not absolute, it is treated as local.

Servlets can be invoked by a client in the following ways:

NOTE: <servletName> is any valid servlet identifier as described in the previous section.
Top
java-server-feedback@java.sun.com
Copyright © 1997 Sun Microsystems, Inc.
All Rights Reserved.