Spring里面applicationContext.xml文件能不能改成其他文件名
ContextLoaderListener是一个ServletContextListener, 它在你的web应用启动的时候初始化。缺省情况下, 它会在WEB-INF/applicationContext.xml文件找Spring的配置。 你可以通过定义一个元素名字为”contextConfigLocation”来改变Spring配置文件的位置。示例如下:
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
/WEB-INF/xyz.xml
org.springframework.web.context.ContextLoaderListener
contextConfigLocation
/WEB-INF/xyz.xml
【Spring里面applicationContext.xml文件能不能改成其他文件名】相关文章
1. Spring里面applicationContext.xml文件能不能改成其他文件名
2. 如何在web环境中配置applicationContext.xml文件
3. spring中的BeanFactory与ApplicationContext的作用和区别
4. Spring中ApplicationContext的作用是什么
5. XML文档定义有几种形式?它们之间有何本质区别?解析XML文档有哪几种方式?
6. Spring里面如何定义hibernate mapping
7. 了解AppleShare protocol(AppleShare协议)吗
8. 什么是Connection-oriented Protocol/Connectionless Protocol面向连接的协议/无连接协议
9. 介绍一下ICMP(Internet Control Message Protocol)Internet控制信息协议
10. what is the difference between ext2 and ext3
本文来源:https://www.mianshiwenti.com/a12609.html
进入下载页面
﹝Spring里面applicationContext.xml文件能不能改成其他文件名﹞相关内容
- 简述你对Statement,PreparedStatement,CallableStatement的理解
- 软件测试LoadRunner面试题:What is correlation? Explain the difference between automatic correlation and manu
- Spring里面如何配置数据库驱动
- Spring对多种ORM框架提供了很好的支持,简单描述在Spring中使用Hibernate的方法
- 软件测试LoadRunner面试题:What is the difference between standard log and extended log?
- Spring面试:什么是Spring, 它有什么特点
- XML文档面试题
- 软件测试LoadRunner面试题:Explain the following functions: – lr_debug_message
- 简述 Application,session,cookie,cache,viewState 的概念,以及相互之间的区别
- 请编程遍历页面上所有 TextBox 控件并给它赋值为 string.Empty