找到/tomcat6/webapps/conf目录下的context.xml文件,在<Context后面添加如下信息:
<Context path="/" docBase="ROOT" debug="0" allowLinking="true">
重新启动tomcat就可以的。
启用allowLinking="true"可能会存在一定的安全隐患,如果链接到系统的目录就比较为危险了
关于tomcat运行 读取软连接的问题
最新推荐文章于 2021-03-05 09:11:52 发布
找到/tomcat6/webapps/conf目录下的context.xml文件,在<Context后面添加如下信息:
<Context path="/" docBase="ROOT" debug="0" allowLinking="true">
重新启动tomcat就可以的。
启用allowLinking="true"可能会存在一定的安全隐患,如果链接到系统的目录就比较为危险了