您需要在context.xml文件中定义一个链接,以将webapp使用的名称映射到全局名称,即使名称相同。
参见http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_links

您需要在context.xml文件中定义一个链接,以将webapp使用的名称映射到全局名称,即使名称相同。
参见http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Resource_links