web.xml整合spring springmvc

2021-02-18 12:20

阅读:435

标签:har   def   lse   stc   value   val   lis   content   Servle   


xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">




contextConfigLocation
classpath:spring/spring.xml






org.springframework.web.context.ContextLoaderListener



org.springframework.web.context.request.RequestContextListener




dispatcherServlet
org.springframework.web.servlet.DispatcherServlet

contextConfigLocation
classpath:spring/springmvc.xml

1

true


dispatcherServlet
/




default
*.html


default
*.css




encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
true


encoding
UTF-8




encodingFilter
/*


web.xml整合spring springmvc

标签:har   def   lse   stc   value   val   lis   content   Servle   

原文地址:https://www.cnblogs.com/wjx6270/p/12690232.html


评论


亲,登录后才可以留言!