客户关系系统CRM配置文件spring-mvc.xml
2017-04-27 20:11
441 查看
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
<!-- 使用注解的包,包括子集 -->
<context:component-scan base-package="com.java1234.controller" />
<!-- 视图解析器 -->
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/" />
<property name="suffix" value=".jsp"></property>
</bean>
</beans>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xsi:schemaLocation="
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd">
<!-- 使用注解的包,包括子集 -->
<context:component-scan base-package="com.java1234.controller" />
<!-- 视图解析器 -->
<bean id="viewResolver"
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/" />
<property name="suffix" value=".jsp"></property>
</bean>
</beans>
相关文章推荐
- 第2.1.5章 WEB系统最佳实践Spring文件配置之spring-mvc.xml
- 客户关系系统CRM配置文件mybatis-config.xml
- 客户关系系统CRM配置文件applicationContext.xml
- springMVC配置文件spring-servlet.xml中<mvc:annotation-driven />的意义
- spring-data-mongodb一个系统xml文件里面配置两个数据源
- 第2.1.4章 WEB系统最佳实践Spring文件配置之spring-hessian-server.xml
- Springmvc+mybatis的定时器配置文件spring-quartz.xml
- SPRING IN ACTION 第4版笔记-第七章Advanced Spring MVC-002- 在xml中引用Java配置文件,声明DispatcherServlet、ContextLoaderListener
- 第2.1.8章 WEB系统最佳实践Spring文件配置之spring-email.xml
- spring+springmvc+mybatis中的xml配置文件详解
- SSM:spring+springmvc+mybatis框架中的XML配置文件功能详细解释
- ssm配置文件(二)—springmvc.xml的配置
- 第2.1.3章 WEB系统最佳实践Spring文件配置之spring-dao.xml
- c#扩展SPRING,配置里有不存在的业务系统xml导致不能启动问题,把配置文件里有重复的服务ID找出来并写入到日志
- spring+springMVC+Hibernate全注解XML配置文件
- spring-mvc.xml文件的配置(官方文件)
- spring MVC学习笔记(二) springMVC.xml配置文件解析
- ssm spring+springmvc+mybatis中的xml配置文件详解
- SSM:spring+springmvc+mybatis框架中的XML配置文件功能详细解释
- spring boot logback.xml 文件 配置出力到linux 下的系统log