Package org.apache.catalina.servlets

This package contains Servlets that implement some of the standard functionality provided by the Catalina servlet container.

Class Summary

CGIServlet CGI-invoking servlet for web applications, used to execute scripts which comply to the Common Gateway Interface (CGI) specification and are named in the path-info used to invoke this servlet.
CGIServlet.CGIEnvironment Encapsulates the CGI environment and rules to derive that environment from the servlet container and request information.
CGIServlet.CGIRunner Encapsulates the knowledge of how to run a CGI script, given the script's desired environment and (optionally) input/output streams

Exposes a run method used to actually invoke the CGI.

CGIServlet.HTTPHeaderInputStream This is an input stream specifically for reading HTTP headers.
CGIServlet.NameValuePair This is a simple class for storing name-value pairs.
Constants
DefaultServlet The default resource-serving servlet for most web applications, used to serve static resources such as HTML pages and images.
DefaultServlet.ResourceInfo
InvokerServlet The default servlet-invoking servlet for most web applications, used to serve requests to servlets that have not been registered in the web application deployment descriptor.
WebdavServlet Servlet which adds support for WebDAV level 2.
This package contains Servlets that implement some of the standard functionality provided by the Catalina servlet container. Because these servlets are in the org.apache.catalina package hierarchy, they are in the privileged position of being able to reference internal server data structures, which application level servlets are prevented from accessing (by the application class loader implementation).

To the extent that these servlets depend upon internal Catalina data structures, they are obviously not portable to other servlet container environments. However, they can be used as models for creating application level servlets that provide similar capabilities -- most obviously the DefaultServlet implementation, which serves static resources when Catalina runs stand-alone.


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.