web.xml配置总结


 xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
 id="WebApp_ID" version="2.5">
 
 crm

 
 
 
 
  characterEncodingFilter
  org.springframework.web.filter.CharacterEncodingFilter
  
   encoding
   UTF-8
  

  
   forceEncoding
   true
  

 

 
  characterEncodingFilter
  /*
 

 
 
 
  struts
  org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
 

 
 
  struts
  *.action
  *.jsp
  *.do
 

 
 
 
  contextConfigLocation
  
        /WEB-INF/classes/springContext.xml
       

 

 
 
 
 
  org.springframework.web.context.ContextLoaderListener
 

 
  org.springframework.web.context.request.RequestContextListener
 

 
 
 

 
 
  500
  /jsp/error.jsp
 

 
  404
  /jsp/error.jsp
 

 
  java.lang.Exception
  /jsp/error.jsp
 

 
 
  jsp/login.jsp
  jsp/login.html
 

你可能感兴趣的:(3,SSH框架知识)