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-69
The web.xml File
SSI Servlet
The Server Side Includes (SSI) processing servlet processes SSI directives in HTML
pages consistent with similar capabilities in web servers like Apache. Traditionally, this
servlet is mapped to the URL pattern *.shtml. The SSI Servlet and the servlet-mapping
for the SSI Servlet are commented out in the <NSJSP_HOME>/conf/web.xml file.
For more information, see http://tomcat.apache.org/tomcat-6.0-doc/ssi-howto.html.
Example 3-56
shows the configuration of the SSI Servlet.
Example 3-55. Configuration of the JSP Page Compiler and Execution Servlet
<servlet>
<servlet-name>jsp</servlet-name>
<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-
class>
<init-param>
<param-name>fork</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>xpoweredBy</param-name>
<param-value>false</param-value>
</init-param>
<load-on-startup>3</load-on-startup>
</servlet>
.
.
.
<!-- The mapping for the JSP servlet -->
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
Note. If you have configured the iTP Secure WebServer to serve the static content of your
web applications, HP recommends that you use the SSI feature offered by the iTP Secure
WebServer. For more information, see the iTP Secure WebServer System Administrator's
Guide.










