我想获得有关以下方面的分步信息:
如何在 Spring 中通过一些示例将 ApplicationContext 文件(例如:myapp-servlet.xml)拆分为多个 XML 文件?
我尝试使用“ContextLoaderListener”配置 web.xml,并使用 contextConfigLocation 如下:
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value> /WEB-INF/business-services.xml </param-value>
</init-param>
但它正在制造问题。
请给我详细解释如何做到这一点。
提前致谢 !