When you configure ssi support in Tomcat, Tomcat5 and Tomcat6 are different. First, let's talk about the same place and find the comments of the following two sections in $ CATALINA_HOMEconfweb.xml, and the comments will be canceled .! Servletservlet-namessiservlet-nameservlet-classorg.apache.catalina.ssi.SSIServlet
InMcWhen ssi support is configured in at, TomCat5. There is a difference between Tomcat 6 and 5. In the same place, find the following two sections in $ CATALINA_HOME/conf/web. xml that have been commented out and uncomment them.
-
-
Then for Tomcat 5, you need to change the servlets-ssi.renametojar file under $ CATALINA_HOME/server/lib to servlets-ssi. jar. Otherwise, java. lang. classNotFoundException: org. apache. catalina. ssi. SSIServlet error.
For Tomcat 6, you need to add a property privileged = "to the node in $ CATALINA_HOME/conf/context. xml"TrUe "into, if not added, java will appear. lang. securityException: Filter of class org. apache. catalina. ssi. SSIServlet is privileged and cannot be loaded by this web application error.