java.lang.Object
org.enhydra.servlet.servlets.CgiProcessor
- class CgiProcessor
- extends java.lang.Object
This Servlet is for the purpose of executing a CGI program that resides on
the system. In order to use this servlet in the Multiserver please
remember to specify the fully qualified classname
org.enhydra.servlet.servlets.CGIServlet in the Classname field and specify
the directory of the CGI to run in the DocRoot field.
- Version:
- $Revision: 1.4.2.1.2.1 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer_size
private static final int buffer_size
- Buffer size for writeing one stream to another.
- See Also:
- Constant Field Values
NOT_FOUND_MSG
private static final java.lang.String NOT_FOUND_MSG
- Html text to send clent for a file not found.
- See Also:
- Constant Field Values
CgiProcessor
CgiProcessor()
processCgiRequest
public void processCgiRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String scriptPath,
java.lang.String pathInfo,
java.lang.String scriptName)
throws java.io.IOException
getCgiEnv
private java.lang.String[] getCgiEnv(javax.servlet.http.HttpServletRequest request,
java.lang.String scriptPath,
java.lang.String pathInfo,
java.lang.String scriptName)
cgiError
public static void cgiError(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException