Version: 9.3.16.v20170120 |

CGI Servlet
Previous | Chapter 18. Provided Servlets, Filters, and Handlers Home | Next

##### Contact the core Jetty developers at www.webtide.com

private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services for sponsored feature development

## CGI Servlet

### Info

- Classname: `org.eclipse.jetty.servlets.CGI`
- Maven Artifact: org.eclipse.jetty:jetty-servlets
- Javadoc: http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/servlets/CGI.html
- Xref: http://download.eclipse.org/jetty/stable-9/xref/org/eclipse/jetty/servlets/CGI.html

### Usage

The CGI servlet class extends the abstract HttpServlet class. When the init parameter is called, the cgi bin directory is set with the `cgibinResourceBase`. Otherwise, it defaults to the resource base of the context.

The cgi bin uses three parameters:

commandPrefix
  The init parameter obtained when there is a prefix set to all commands directed to the method exec.
Path
  An init parameter passed to the exec environment as a PATH. This must be run unpacked somewhere in the filesystem.
ENV_
  An init parameter that points to an environment variable with the name stripped of the leading ENV_ and using the init parameter value.

Previous | Top | Next
Balancer Servlet | Home | Quality of Service Filter

See an error or something missing? Contribute to this documentation at Github!(Generated: 2017-01-20)