All Packages  Class Hierarchy  This Package  Previous  Next  Index


Class Acme.Serve.CgiServlet

java.lang.Object
   |
   +----Acme.Serve.servlet.GenericServlet
           |
           +----Acme.Serve.servlet.http.HttpServlet
                   |
                   +----Acme.Serve.CgiServlet

public class CgiServlet
extends HttpServlet
Runs CGI programs.

Note: although many implementations of CGI set the working directory of the subprocess to be the directory containing the executable file, the CGI spec actually says nothing about the working directory. Since Java has no method for setting the working directory, this implementation does not set it.

Fetch the software.
Fetch the entire Acme package.

See Also:
Serve

Constructor Index

 o CgiServlet()

澳门太陽赌城2007

澳门太阳集团2007官网 getServletInfo()
Returns a string containing information about the author, version, and copyright of the servlet.
 o service(HttpServletRequest, HttpServletResponse)
Services a single request from the client.

Constructors

22gvb.com CgiServlet
 public CgiServlet()

Methods

 o getServletInfo
 public String getServletInfo()
Returns a string containing information about the author, version, and copyright of the servlet.

Overrides:
getServletInfo in class GenericServlet
 o service
 public void service(HttpServletRequest req,
                     HttpServletResponse res) throws ServletException, IOException
Services a single request from the client.

Parameters:
req - the servlet request
req - the servlet response
Throws: ServletException
when an exception has occurred
Overrides:
service in class HttpServlet

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs

太阳集团99138.com