Tomcat5.5中,缺省是不能使用link目录的。
可以通过修改配置,使得Tomcat支持Link的目录结构
修改方式:
在server.xml中的Context节点做如下调整:
<Context allowLinking
="true" ....原有的参数>
<Resources className="org.apache.naming.resources.FileDirContext" allowLinking="true" />
</Context>