分布式项目开发-web.xml基础配置

 1 
 2  3     xmlns="http://java.sun.com/xml/ns/javaee"
 4     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
 5     id="WebApp_ID" version="3.0">
 6     
 7 
 8     
 9     
10         contextConfigLocation
11         classpath:spring-*.xml
12     
13     
14         class>org.springframework.web.context.ContextLoaderListenerclass>
15     
16 
17     
18     
19         springmvc
20         class>org.springframework.web.servlet.DispatcherServletclass>
21         
22         
23             
24             contextConfigLocation
25             
26             classpath:springmvc.xml
27         
28         
36         0
37     
38     
39     
40     
41     
42     
43         
44         springmvc
45         
46         
52         /
53     
54 
55     
56         
57         encoding
58         org.springframework.web.filter.CharacterEncodingFilter
59         
60             encoding
61             utf-8
62         
63         
64             forceRequestEncoding
65             true
66         
67     
68     
69     
70     
71         encoding
72         springmvc
73     
74 
75     
76      
77            /WEB-INF/views/index.jsp
78      
79 
80 
81 

 

你可能感兴趣的:(分布式项目开发-web.xml基础配置)