spring-sevlet简单配置
2024-10-07 01:48:51
<<?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/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd"> <!-- 组件扫描的包 -->
<context:component-scan base-package="cn.spiderpig"></context:component-scan> <bean
class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB_INF/view"></property>
<property name="suffix" value=".jsp"></property>
</bean> <mvc:annotation-driven></mvc:annotation-driven> <!-- 处理静态资源 -->
<mvc:default-servlet-handler /> </beans>
最新文章
- ceshi
- RESTful API 设计最佳实践
- 计算缓存文件大小、清除缓存的Cell
- 使用OPENROWSET、Microsoft.ACE.OLEDB实现大数据量的高效导入
- mongodb 导出查询结果到文件
- php初探
- DWR框架简单应用
- phpredis中文手册——《redis中文手册》 php版--引用他人
- 通过自关联替代开窗函数实现SQL优化
- li样式不显示使用overflow:hidden导致Li前面点、圈等样式不见
- 六月计划#2A(6.10-6.16)
- oralce 恢复Delete删除
- paip.QQ音乐导出歌单总结
- 慎得慌二u赫然共和任务i个屁
- 说说SACC2016第八届架构师大会
- Ionic3 打包并签名Android-App
- 一入OI深似海 3 —— 纪念我最后一次PJ(上)
- 基于XML搭建SpringMVC项目
- Java示例:如何执行进程并读取输出
- 一行代码实现自定义转场动画--iOS自定义转场动画集
热门文章
- java -cp 执行jar包里的某个类
- Design Support库中的控件
- Vue开发——实现吸顶效果
- angular使用@angular/material 出现";export &#39;ɵɵinject&#39; was not found in &#39;@angular/core&#39;
- WPF:元素绑定
- (转)AIX中修改主机名 要注意
- iOS中为控件设置颜色渐变和透明度渐变
- POJ 1038 Bugs Integrated Inc (复杂的状压DP)
- PMBOK :美国的项目管理知识体系
- PowerDesigner 生成SQL Server 2005 注释脚本