ssm整合的springmvc.xml的配置
2024-09-05 09:31:13
<?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:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"> <!--扫描controller层-->
<context:component-scan base-package="com.aaa.ssm.controller"></context:component-scan>
<!--开启springmvc注解驱动-->
<mvc:annotation-driven></mvc:annotation-driven>
<!--配置视图解析器-->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/jsp/"></property>
<property name="suffix" value=".jsp"></property>
</bean>
</beans>
最新文章
- BZOJ 2096: [Poi2010]Pilots
- 图片懒加载插件lazyload使用方法
- HDU 3037 Saving Beans(Lucas定理模板题)
- ProxyFactory的一个问题
- 【小丸类库系列】Excel操作类
- 初始化rails上的compass项目
- Linux中重命名文件
- location.href IE6 下不起作用的罪魁祸首
- Eclipse用法和技巧二十:一个快速打印技巧
- 【从翻译mos文章】不再用par file如果是,export or import 包含大写和小写表名称表
- Hibernate的三种缓存
- CSS代码片段
- 【python原理解析】python中分片的实现原理及使用技巧
- python 全栈开发,Day107(CRM初始,权限组件之权限控制,权限系统表设计)
- APICloud开发
- delphi CopyFileProgressBar 拷贝文件显示进度条
- inux中Vi不能高亮显示行号的解决办法
- 学习笔记之C++入门到精通(名师教学&#183;手把手教会)【职坐标】_腾讯课堂
- JSP学习笔记(五):日期处理、页面重定向、点击量统计、自动刷新和发送邮件
- 20172333 2017-2018-2 《Java程序设计》第5周学习总结