SpringMVC=>web.xml基本配置
2021-01-20 20:15
标签:www 数字 ring work 中文乱码问题 参数 onclick xmlns 请求 web.xml基本配置,soscw.com" target="_blank">SpringMVC=>web.xml基本配置 标签:www 数字 ring work 中文乱码问题 参数 onclick xmlns 请求 原文地址:https://www.cnblogs.com/m987/p/12900555.htmlxml version="1.0" encoding="UTF-8"?>
web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
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">
servlet>
servlet-name>SpringMVCservlet-name>
servlet-class>org.springframework.web.servlet.DispatcherServletservlet-class>
init-param>
param-name>contextConfigLocationparam-name>
param-value>classpath:applicationContext.xmlparam-value>
init-param>
load-on-startup>1load-on-startup>
servlet>
servlet-mapping>
servlet-name>SpringMVCservlet-name>
url-pattern>/url-pattern>
servlet-mapping>
filter>
filter-name>encodingfilter-name>
filter-class>org.springframework.web.filter.CharacterEncodingFilterfilter-class>
init-param>
param-name>encodingparam-name>
param-value>utf-8param-value>
init-param>
filter>
filter-mapping>
filter-name>encodingfilter-name>
url-pattern>/*url-pattern>
filter-mapping>
web-app>
文章标题:SpringMVC=>web.xml基本配置
文章链接:http://soscw.com/index.php/essay/44697.html