0
|
1 <?xml version="1.0" encoding="ISO-8859-1"?>
|
|
2 <web-app
|
|
3 xmlns="http://java.sun.com/xml/ns/j2ee"
|
|
4 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
5 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
|
6 version="2.4">
|
|
7
|
|
8 <description>
|
|
9 Default web.xml file.
|
|
10 This file is applied to a Web application before it's own WEB_INF/web.xml file
|
|
11 </description>
|
|
12
|
|
13
|
|
14 <!-- ==================================================================== -->
|
|
15 <!-- Context params to control Session Cookies -->
|
|
16 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
17 <!-- UNCOMMENT TO ACTIVATE
|
|
18 <context-param>
|
|
19 <param-name>org.mortbay.jetty.servlet.SessionDomain</param-name>
|
|
20 <param-value>127.0.0.1</param-value>
|
|
21 </context-param>
|
|
22
|
|
23 <context-param>
|
|
24 <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
|
|
25 <param-value>/</param-value>
|
|
26 </context-param>
|
|
27
|
|
28 <context-param>
|
|
29 <param-name>org.mortbay.jetty.servlet.MaxAge</param-name>
|
|
30 <param-value>-1</param-value>
|
|
31 </context-param>
|
|
32 -->
|
|
33
|
|
34
|
|
35 <!-- ==================================================================== -->
|
|
36 <!-- The default servlet. -->
|
|
37 <!-- This servlet, normally mapped to /, provides the handling for static -->
|
|
38 <!-- content, OPTIONS and TRACE methods for the context. -->
|
|
39 <!-- The following initParameters are supported: -->
|
|
40 <!-- -->
|
|
41 <!-- acceptRanges If true, range requests and responses are -->
|
|
42 <!-- supported -->
|
|
43 <!-- -->
|
|
44 <!-- dirAllowed If true, directory listings are returned if no -->
|
|
45 <!-- welcome file is found. Else 403 Forbidden. -->
|
|
46 <!-- -->
|
|
47 <!-- putAllowed If true, the PUT method is allowed -->
|
|
48 <!-- -->
|
|
49 <!-- delAllowed If true, the DELETE method is allowed -->
|
|
50 <!-- -->
|
|
51 <!-- redirectWelcome If true, redirect welcome file requests -->
|
|
52 <!-- else use request dispatcher forwards -->
|
|
53 <!-- -->
|
|
54 <!-- minGzipLength If set to a positive integer, then static content -->
|
|
55 <!-- larger than this will be served as gzip content -->
|
|
56 <!-- encoded if a matching resource is found ending -->
|
|
57 <!-- with ".gz" -->
|
|
58 <!-- -->
|
|
59 <!-- resoureBase Can be set to replace the context resource base -->
|
|
60 <!-- -->
|
|
61 <!-- relativeResourceBase -->
|
|
62 <!-- Set with a pathname relative to the base of the -->
|
|
63 <!-- servlet context root. Useful for only serving -->
|
|
64 <!-- static content from only specific subdirectories. -->
|
|
65 <!-- -->
|
|
66 <!-- The MOVE method is allowed if PUT and DELETE are allowed -->
|
|
67 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
|
68 <servlet>
|
|
69 <servlet-name>default</servlet-name>
|
|
70 <servlet-class>org.mortbay.jetty.servlet.Default</servlet-class>
|
|
71 <init-param>
|
|
72 <param-name>acceptRanges</param-name>
|
|
73 <param-value>true</param-value>
|
|
74 </init-param>
|
|
75 <init-param>
|
|
76 <param-name>dirAllowed</param-name>
|
|
77 <param-value>true</param-value>
|
|
78 </init-param>
|
|
79 <init-param>
|
|
80 <param-name>putAllowed</param-name>
|
|
81 <param-value>false</param-value>
|
|
82 </init-param>
|
|
83 <init-param>
|
|
84 <param-name>delAllowed</param-name>
|
|
85 <param-value>false</param-value>
|
|
86 </init-param>
|
|
87 <init-param>
|
|
88 <param-name>redirectWelcome</param-name>
|
|
89 <param-value>false</param-value>
|
|
90 </init-param>
|
|
91 <init-param>
|
|
92 <param-name>minGzipLength</param-name>
|
|
93 <param-value>8192</param-value>
|
|
94 </init-param>
|
|
95 <load-on-startup>0</load-on-startup>
|
|
96 </servlet>
|
|
97
|
|
98
|
|
99 <servlet-mapping>
|
|
100 <servlet-name>default</servlet-name>
|
|
101 <url-pattern>/</url-pattern>
|
|
102 </servlet-mapping>
|
|
103
|
|
104 <!-- ==================================================================== -->
|
|
105 <session-config>
|
|
106 <session-timeout>30</session-timeout>
|
|
107 </session-config>
|
|
108
|
|
109
|
|
110 <!-- ==================================================================== -->
|
|
111 <welcome-file-list>
|
|
112 <welcome-file>index.html</welcome-file>
|
|
113 <welcome-file>index.htm</welcome-file>
|
|
114 </welcome-file-list>
|
|
115
|
|
116 <!-- ==================================================================== -->
|
|
117 <locale-encoding-mapping-list>
|
|
118 <locale-encoding-mapping>
|
|
119 <locale>ar</locale>
|
|
120 <encoding>ISO-8859-6</encoding>
|
|
121 </locale-encoding-mapping>
|
|
122 <locale-encoding-mapping>
|
|
123 <locale>be</locale>
|
|
124 <encoding>ISO-8859-5</encoding>
|
|
125 </locale-encoding-mapping>
|
|
126 <locale-encoding-mapping>
|
|
127 <locale>bg</locale>
|
|
128 <encoding>ISO-8859-5</encoding>
|
|
129 </locale-encoding-mapping>
|
|
130 <locale-encoding-mapping>
|
|
131 <locale>ca</locale>
|
|
132 <encoding>ISO-8859-1</encoding>
|
|
133 </locale-encoding-mapping>
|
|
134 <locale-encoding-mapping>
|
|
135 <locale>cs</locale>
|
|
136 <encoding>ISO-8859-2</encoding>
|
|
137 </locale-encoding-mapping>
|
|
138 <locale-encoding-mapping>
|
|
139 <locale>da</locale>
|
|
140 <encoding>ISO-8859-1</encoding>
|
|
141 </locale-encoding-mapping>
|
|
142 <locale-encoding-mapping>
|
|
143 <locale>de</locale>
|
|
144 <encoding>ISO-8859-1</encoding>
|
|
145 </locale-encoding-mapping>
|
|
146 <locale-encoding-mapping>
|
|
147 <locale>el</locale>
|
|
148 <encoding>ISO-8859-7</encoding>
|
|
149 </locale-encoding-mapping>
|
|
150 <locale-encoding-mapping>
|
|
151 <locale>en</locale>
|
|
152 <encoding>ISO-8859-1</encoding>
|
|
153 </locale-encoding-mapping>
|
|
154 <locale-encoding-mapping>
|
|
155 <locale>es</locale>
|
|
156 <encoding>ISO-8859-1</encoding>
|
|
157 </locale-encoding-mapping>
|
|
158 <locale-encoding-mapping>
|
|
159 <locale>et</locale>
|
|
160 <encoding>ISO-8859-1</encoding>
|
|
161 </locale-encoding-mapping>
|
|
162 <locale-encoding-mapping>
|
|
163 <locale>fi</locale>
|
|
164 <encoding>ISO-8859-1</encoding>
|
|
165 </locale-encoding-mapping>
|
|
166 <locale-encoding-mapping>
|
|
167 <locale>fr</locale>
|
|
168 <encoding>ISO-8859-1</encoding>
|
|
169 </locale-encoding-mapping>
|
|
170 <locale-encoding-mapping>
|
|
171 <locale>hr</locale>
|
|
172 <encoding>ISO-8859-2</encoding>
|
|
173 </locale-encoding-mapping>
|
|
174 <locale-encoding-mapping>
|
|
175 <locale>hu</locale>
|
|
176 <encoding>ISO-8859-2</encoding>
|
|
177 </locale-encoding-mapping>
|
|
178 <locale-encoding-mapping>
|
|
179 <locale>is</locale>
|
|
180 <encoding>ISO-8859-1</encoding>
|
|
181 </locale-encoding-mapping>
|
|
182 <locale-encoding-mapping>
|
|
183 <locale>it</locale>
|
|
184 <encoding>ISO-8859-1</encoding>
|
|
185 </locale-encoding-mapping>
|
|
186 <locale-encoding-mapping>
|
|
187 <locale>iw</locale>
|
|
188 <encoding>ISO-8859-8</encoding>
|
|
189 </locale-encoding-mapping>
|
|
190 <locale-encoding-mapping>
|
|
191 <locale>ja</locale>
|
|
192 <encoding>Shift_JIS</encoding>
|
|
193 </locale-encoding-mapping>
|
|
194 <locale-encoding-mapping>
|
|
195 <locale>ko</locale>
|
|
196 <encoding>EUC-KR</encoding>
|
|
197 </locale-encoding-mapping>
|
|
198 <locale-encoding-mapping>
|
|
199 <locale>lt</locale>
|
|
200 <encoding>ISO-8859-2</encoding>
|
|
201 </locale-encoding-mapping>
|
|
202 <locale-encoding-mapping>
|
|
203 <locale>lv</locale>
|
|
204 <encoding>ISO-8859-2</encoding>
|
|
205 </locale-encoding-mapping>
|
|
206 <locale-encoding-mapping>
|
|
207 <locale>mk</locale>
|
|
208 <encoding>ISO-8859-5</encoding>
|
|
209 </locale-encoding-mapping>
|
|
210 <locale-encoding-mapping>
|
|
211 <locale>nl</locale>
|
|
212 <encoding>ISO-8859-1</encoding>
|
|
213 </locale-encoding-mapping>
|
|
214 <locale-encoding-mapping>
|
|
215 <locale>no</locale>
|
|
216 <encoding>ISO-8859-1</encoding>
|
|
217 </locale-encoding-mapping>
|
|
218 <locale-encoding-mapping>
|
|
219 <locale>pl</locale>
|
|
220 <encoding>ISO-8859-2</encoding>
|
|
221 </locale-encoding-mapping>
|
|
222 <locale-encoding-mapping>
|
|
223 <locale>pt</locale>
|
|
224 <encoding>ISO-8859-1</encoding>
|
|
225 </locale-encoding-mapping>
|
|
226 <locale-encoding-mapping>
|
|
227 <locale>ro</locale>
|
|
228 <encoding>ISO-8859-2</encoding>
|
|
229 </locale-encoding-mapping>
|
|
230 <locale-encoding-mapping>
|
|
231 <locale>ru</locale>
|
|
232 <encoding>ISO-8859-5</encoding>
|
|
233 </locale-encoding-mapping>
|
|
234 <locale-encoding-mapping>
|
|
235 <locale>sh</locale>
|
|
236 <encoding>ISO-8859-5</encoding>
|
|
237 </locale-encoding-mapping>
|
|
238 <locale-encoding-mapping>
|
|
239 <locale>sk</locale>
|
|
240 <encoding>ISO-8859-2</encoding>
|
|
241 </locale-encoding-mapping>
|
|
242 <locale-encoding-mapping>
|
|
243 <locale>sl</locale>
|
|
244 <encoding>ISO-8859-2</encoding>
|
|
245 </locale-encoding-mapping>
|
|
246 <locale-encoding-mapping>
|
|
247 <locale>sq</locale>
|
|
248 <encoding>ISO-8859-2</encoding>
|
|
249 </locale-encoding-mapping>
|
|
250 <locale-encoding-mapping>
|
|
251 <locale>sr</locale>
|
|
252 <encoding>ISO-8859-5</encoding>
|
|
253 </locale-encoding-mapping>
|
|
254 <locale-encoding-mapping>
|
|
255 <locale>sv</locale>
|
|
256 <encoding>ISO-8859-1</encoding>
|
|
257 </locale-encoding-mapping>
|
|
258 <locale-encoding-mapping>
|
|
259 <locale>tr</locale>
|
|
260 <encoding>ISO-8859-9</encoding>
|
|
261 </locale-encoding-mapping>
|
|
262 <locale-encoding-mapping>
|
|
263 <locale>uk</locale>
|
|
264 <encoding>ISO-8859-5</encoding>
|
|
265 </locale-encoding-mapping>
|
|
266 <locale-encoding-mapping>
|
|
267 <locale>zh</locale>
|
|
268 <encoding>GB2312</encoding>
|
|
269 </locale-encoding-mapping>
|
|
270 <locale-encoding-mapping>
|
|
271 <locale>zh_TW</locale>
|
|
272 <encoding>Big5</encoding>
|
|
273 </locale-encoding-mapping>
|
|
274 </locale-encoding-mapping-list>
|
|
275
|
|
276
|
|
277 </web-app>
|
|
278
|