[英]How to import xml file in servlet xml file in spring mvc
i have separate xml file which has jdbc , mysql details. 我有一个单独的xml文件,其中包含jdbc和mysql详细信息。
Now i don't know how include file in servlet xml. 现在我不知道如何在servlet xml中包含文件。
i tried this but didn't worked 我尝试了这个但是没用
<import resource="jdbc-context.xml">
The documentation says: "All location paths are relative to the definition file doing the importing" 该文档说:“所有位置路径都相对于进行导入的定义文件”
Is this the case? 是这样吗
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.