摘要: 根据web.xml读取配置文件中的顺序来看 controller层和service层来自于spring mvc.xml中读取,所以必须要在spring mvc.xml中配置读取资源文件夹方式 阅读全文
posted @ 2018-02-06 16:07 灏月天染 阅读(264) 评论(0) 推荐(0)
摘要: 通过在applicationContext.xml和springmvc.xml中配置 <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="locat 阅读全文
posted @ 2018-02-06 16:01 灏月天染 阅读(228) 评论(0) 推荐(0)