25 web.xml配置详解及示例

如果觉得图片不清晰,可以右击图片,选择在新标签页中打开图片

以下为示例配置

<?xml version="1.0" encoding="UTF-8"?>
appserviceencodingFilterorg.springframework.web.filter.CharacterEncodingFilterencodingUTF-8forceEncodingtrueencodingFilter/*contextConfigLocationclasspath:applicationContext*.xmlspringMVCorg.springframework.web.servlet.DispatcherServletcontextConfigLocationclasspath:spring/spring-*.xml0springMVC/*.doInitialServletcom.goldmantis.appjia.servlet.InitialServlet3org.springframework.web.context.ContextLoaderListener30java.lang.Throwable/WEB-INF/errorpage/500.jsp500/WEB-INF/errorpage/500.jsp404/WEB-INF/errorpage/404.jsp



阅读更多
换一批

没有更多推荐了,返回首页