tomcat支持软链接资源的访问
<!-- Tomcat 7: -->
<Context allowLinking="true" />
<!-- Tomcat 8: -->
<Context>
<Resources allowLinking="true" />
</Context>
备注:server.xml映射基础目录。
<Context docBase ="/app/ejypic/" path ="/ejypic" debug ="0" reloadable ="true"/>