java.lang.SecurityException: Filter of class org.apache.catalina.ssi.SSIFilter is privileged and cannot be loaded by this web application
2016-01-12 15:52
1176 查看
错误:
View Code
注:因为tomcat5和tomcat6对ssi的支持方式不一样。肯能解决方法也不一样。上面的方法只解决了我的问题。网上也有好多解决方法。
<!-- <filter> <filter-name>ssi</filter-name> <filter-class> org.apache.catalina.ssi.SSIFilter </filter-class> <init-param> <param-name>contentType</param-name> <param-value>text/x-server-parsed-html(;.*)?</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> </filter> -->
View Code
注:因为tomcat5和tomcat6对ssi的支持方式不一样。肯能解决方法也不一样。上面的方法只解决了我的问题。网上也有好多解决方法。
相关文章推荐
- URL伪静态设置 (apache2.4)
- linux常用命令及学习小结(5)--NFS、Apache、subversion、SSH
- 【指导】iOS APP Jenkins自动编译(xcodebuild)、打包(xcrun)、发布(Apache/scp)
- Apache POI组件操作Excel,制作报表(四)
- Apache POI组件操作Excel,制作报表(三)
- Apache POI组件操作Excel,制作报表(二)
- Apache POI组件操作Excel,制作报表(一)
- Apache Apollo配置文件解析
- Apache Karaf自定义console命令
- Apache Apollo入门指南
- org.apache.commons.lang3之StringUtils
- Apache Camel框架之JMS路由
- maven项目建立pom.xml报无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3
- apache ab test使用 单独安装ab和htpasswd
- 第四十四天-Apache虚拟主机测试
- 《ActiveMQ In Action》Chapter 1 Introduction to Apache ActiveMQ
- Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/CommandNeedRetr
- 如何在 Apache 中为你的网站设置404页面
- centos7.1下yum安装并使用apache web服务器
- Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1]