NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's Guide

Configuring NSJSP
NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator’s Guide—596210-006
3-70
The web.xml File
CGI Processing Servlet
The Common Gateway Interface (CGI) processing servlet, enables execution of and
interaction with external applications that conform to the CGI specification. Typically,
this servlet is mapped to the URL pattern /cgi-bin/*, which means that any CGI
applications that are executed must be present within the webapps directory structure.
The CGI Servlet and the servlet-mapping for the CGI Servlet are commented out in the
<NSJSP_HOME>/conf/web.xml file. For more information, refer to
http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html
.
Example 3-57
shows the configuration of the CGI processing Servlet.
Example 3-56. Configuration of the SSI Servlet
<!--
<servlet>
<servlet-name>ssi</servlet-name>
<servlet-class>
org.apache.catalina.ssi.SSIServlet
</servlet-class>
<init-param>
<param-name>buffered</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>666</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
-->
.
.
.
<!--
<servlet-mapping>
<servlet-name>ssi</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
-->
Note. The iTP Secure Webserver can be used to service CGI requests. For more
information on servicing CGI requests, see the Using Common Gateway Interface (CGI)
Programs section in the iTP Secure WebServer System Administrator's Guide.