博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
springmvc hello-servlet.xml配置文件
阅读量:7025 次
发布时间:2019-06-28

本文共 607 字,大约阅读时间需要 2 分钟。

hot3.png

<?xml version="1.0" encoding="UTF-8"?>

<beans:beans xmlns=""
 xmlns:xsi=""
 xmlns:beans=""
 xmlns:context=""
 xsi:schemaLocation="
  
   ">

 <annotation-driven/>

 <context:component-scan base-package="com.xxx.controller"></context:component-scan>
 <!-- Root Context: defines shared resources visible to all other web components -->
 <beans:bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
  
  <beans:property name="prefix" value="/views/"></beans:property>
  <beans:property name="suffix" value=".jsp"></beans:property>
 </beans:bean>
 
</beans:beans>

转载于:https://my.oschina.net/leizhiwei/blog/77389

你可能感兴趣的文章
Grid search in the tidyverse
查看>>
hdu 三部曲 Contestants Division
查看>>
day22——创建表、增加数据、查询数据
查看>>
c# 调用 c dll 例子
查看>>
【C#】string格式的日期转为DateTime类型及时间格式化处理方法
查看>>
实验十三:窗口设计
查看>>
python解析XML的三种方法
查看>>
nf_conntrack: table full, dropping packet. 问题
查看>>
(转)如何使用C#自定义属性
查看>>
hdu 1142 A Walk Through the Forest (最短路径)
查看>>
HLG 1475 国王的宴会【树形DP】
查看>>
AppScan扫描建议 问题集
查看>>
建造者模式
查看>>
在多线程环境下使用HttpWebRequest或者调用Web Service(连接报超时问题)
查看>>
Windows Live Write 日志客户端
查看>>
把123456789转换为12-345-6789的三种方法
查看>>
Mysql选择合适的存储引擎
查看>>
URAL 1225 Flags
查看>>
UVa 11172 - Relational Operator
查看>>
UVa 10179 - Irreducable Basic Fractions
查看>>