找到/tomcat6/webapps/conf目录下的context.xml文件,在<Context后面添加如下信息:
<Context path="/" docBase="ROOT" debug="0" allowLinking="true">
重新启动tomcat就可以的。
启用allowLinking="true"可能会存在一定的安全隐患,如果链接到系统的目录就比较为危险了
找到/tomcat6/webapps/conf目录下的context.xml文件,在<Context后面添加如下信息:
<Context path="/" docBase="ROOT" debug="0" allowLinking="true">
重新启动tomcat就可以的。
启用allowLinking="true"可能会存在一定的安全隐患,如果链接到系统的目录就比较为危险了