问题
I am migrating tomcat 7 to tomcat 9.0.33, below are the symbolic link access config for tomcat 7 but the link is not working on tomcat, can anyone pls suggest how to fix this
<?xml version='1.0' encoding='utf-8'?> <Context path="/" docBase="/usr/local/apache-tomcat-7.0.63/webapps/ROOT" allowLinking="true" deployXML="false">
回答1:
in tomcat 9 & 8 need to add into tomcat/conf/context.xml
<Context> <Resources allowLinking="true" /> ....
got help from here
来源:https://stackoverflow.com/questions/60983938/create-symbolic-link-for-access-file-using-tomcat-9-not-working