1.web.xml内容:
xmlns="外链网址已屏蔽;
xmlns:web="外链网址已屏蔽;
xsi:schemaLocation="外链网址已屏蔽;
外链网址已屏蔽;
id="WebApp_ID" version="3.0">
contextConfigLocation
classpath:beans.xml
org.springframework.web.context.ContextLoaderListener
org.springframework.web.util.IntrospectorCleanupListener
CharacterEncodingFilter
org.springframework.web.filter.CharacterEncodingFilter
encoding
utf-8
forceEncoding
true
CharacterEncodingFilter
/*
SpringMVC
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
classpath:Servlet.xml
1
SpringMVC
/
index.html
2.Servlet.xml内容:
xmlns:xsi="外链网址已屏蔽;
xmlns:context="外链网址已屏蔽;
xmlns:mvc="外链网址已屏蔽;
xsi:schemaLocation="外链网址已屏蔽;
外链网址已屏蔽;
外链网址已屏蔽;
外链网址已屏蔽;
外链网址已屏蔽;
外链网址已屏蔽;>
application/json;charset=UTF-8
/error/upload_error