summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorThomas Becker2011-11-04 14:48:44 (EDT)
committer Simone Bordet2011-11-04 15:23:56 (EDT)
commitacaa24595be6ea4193a25c4c267fa3591583082b (patch)
treef8966da99e2348d9ba837d58ded4dc00c6d74e21
parent3d0300e60df9df6b8c8fd158b5dc80533bf58c62 (diff)
downloadorg.eclipse.jetty.project-acaa24595be6ea4193a25c4c267fa3591583082b.zip
org.eclipse.jetty.project-acaa24595be6ea4193a25c4c267fa3591583082b.tar.gz
org.eclipse.jetty.project-acaa24595be6ea4193a25c4c267fa3591583082b.tar.bz2
359031: Javadoc
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
-rw-r--r--jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CGI.java18
1 files changed, 11 insertions, 7 deletions
diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CGI.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CGI.java
index d8757d8..8df4402 100644
--- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CGI.java
+++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/CGI.java
@@ -34,22 +34,26 @@ import org.eclipse.jetty.util.log.Logger;
//-----------------------------------------------------------------------------
/**
* CGI Servlet.
- *
+ * <p/>
* The cgi bin directory can be set with the "cgibinResourceBase" init parameter or it will default to the resource base of the context. If the
* "cgibinResourceBaseIsRelative" init parameter is set the resource base is relative to the webapp. For example "WEB-INF/cgi" would work.
- *
+ * <br/>
+ * Not that this only works for extracted war files as "jar cf" will not reserve the execute permissions on the cgi files.
+ * <p/>
* The "commandPrefix" init parameter may be used to set a prefix to all commands passed to exec. This can be used on systems that need assistance to execute a
* particular file type. For example on windows this can be set to "perl" so that perl scripts are executed.
- *
+ * <p/>
* The "Path" init param is passed to the exec environment as PATH. Note: Must be run unpacked somewhere in the filesystem.
- *
+ * <p/>
* Any initParameter that starts with ENV_ is used to set an environment variable with the name stripped of the leading ENV_ and using the init parameter value.
- *
- *
- *
*/
public class CGI extends HttpServlet
{
+ /**
+ *
+ */
+ private static final long serialVersionUID = -6182088932884791073L;
+
private static final Logger LOG = Log.getLogger(CGI.class);
private boolean _ok;