| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <web-app |
| 3 | xmlns="http://xmlns.jcp.org/xml/ns/javaee" |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" |
| 6 | metadata-complete="false" |
| 7 | version="3.1"> |
| 8 | |
| 9 | <!-- ===================================================================== --> |
| 10 | <!-- This file contains the default descriptor for web applications. --> |
| 11 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 12 | <!-- The intent of this descriptor is to include jetty specific or common --> |
| 13 | <!-- configuration for all webapps. If a context has a webdefault.xml --> |
| 14 | <!-- descriptor, it is applied before the context's own web.xml file --> |
| 15 | <!-- --> |
| 16 | <!-- A context may be assigned a default descriptor by calling --> |
| 17 | <!-- WebAppContext.setDefaultsDescriptor(String). --> |
| 18 | <!-- --> |
| 19 | <!-- This file is present in the jetty-webapp.jar, and is used as the --> |
| 20 | <!-- defaults descriptor if no other is explicitly set on a context. --> |
| 21 | <!-- --> |
| 22 | <!-- A copy of this file is also placed into the $JETTY_HOME/etc dir of --> |
| 23 | <!-- the distribution, and is referenced by some of the other xml files, --> |
| 24 | <!-- eg the jetty-deploy.xml file. --> |
| 25 | <!-- ===================================================================== --> |
| 26 | |
| 27 | <description> |
| 28 | Default web.xml file. |
| 29 | This file is applied to a Web application before its own WEB_INF/web.xml file |
| 30 | </description> |
| 31 | |
| 32 | <!-- ==================================================================== --> |
| 33 | <!-- Removes static references to beans from javax.el.BeanELResolver to --> |
| 34 | <!-- ensure webapp classloader can be released on undeploy --> |
| 35 | <!-- ==================================================================== --> |
| 36 | <listener> |
| 37 | <listener-class>org.eclipse.jetty.servlet.listener.ELContextCleaner</listener-class> |
| 38 | </listener> |
| 39 | |
| 40 | <!-- ==================================================================== --> |
| 41 | <!-- Removes static cache of Methods from java.beans.Introspector to --> |
| 42 | <!-- ensure webapp classloader can be released on undeploy --> |
| 43 | <!-- ==================================================================== --> |
| 44 | <listener> |
| 45 | <listener-class>org.eclipse.jetty.servlet.listener.IntrospectorCleaner</listener-class> |
| 46 | </listener> |
| 47 | |
| 48 | |
| 49 | <!-- ==================================================================== --> |
| 50 | <!-- Context params to control Session Cookies --> |
| 51 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 52 | <!-- |
| 53 | UNCOMMENT TO ACTIVATE |
| 54 | <context-param> |
| 55 | <param-name>org.eclipse.jetty.servlet.SessionDomain</param-name> |
| 56 | <param-value>127.0.0.1</param-value> |
| 57 | </context-param> |
| 58 | <context-param> |
| 59 | <param-name>org.eclipse.jetty.servlet.SessionPath</param-name> |
| 60 | <param-value>/</param-value> |
| 61 | </context-param> |
| 62 | <context-param> |
| 63 | <param-name>org.eclipse.jetty.servlet.MaxAge</param-name> |
| 64 | <param-value>-1</param-value> |
| 65 | </context-param> |
| 66 | --> |
| 67 | |
| 68 | <!-- ==================================================================== --> |
| 69 | <!-- The default servlet. --> |
| 70 | <!-- This servlet, normally mapped to /, provides the handling for static --> |
| 71 | <!-- content, OPTIONS and TRACE methods for the context. --> |
| 72 | <!-- The following initParameters are supported: --> |
| 73 | <!-- |
| 74 | * acceptRanges If true, range requests and responses are |
| 75 | * supported |
| 76 | * |
| 77 | * dirAllowed If true, directory listings are returned if no |
| 78 | * welcome file is found. Else 403 Forbidden. |
| 79 | * |
| 80 | * welcomeServlets If true, attempt to dispatch to welcome files |
| 81 | * that are servlets, but only after no matching static |
| 82 | * resources could be found. If false, then a welcome |
| 83 | * file must exist on disk. If "exact", then exact |
| 84 | * servlet matches are supported without an existing file. |
| 85 | * Default is true. |
| 86 | * |
| 87 | * This must be false if you want directory listings, |
| 88 | * but have index.jsp in your welcome file list. |
| 89 | * |
| 90 | * redirectWelcome If true, welcome files are redirected rather than |
| 91 | * forwarded to. |
| 92 | * |
| 93 | * gzip If set to true, then static content will be served as |
| 94 | * gzip content encoded if a matching resource is |
| 95 | * found ending with ".gz" (default false) |
| 96 | * (deprecated: use precompressed) |
| 97 | * |
| 98 | * precompressed If set to a comma separated list of encoding types (that may be |
| 99 | * listed in a requests Accept-Encoding header) to file |
| 100 | * extension mappings to look for and serve. For example: |
| 101 | * "br=.br,gzip=.gz,bzip2=.bz". |
| 102 | * If set to a boolean True, then a default set of compressed formats |
| 103 | * will be used, otherwise no precompressed formats. |
| 104 | * |
| 105 | * resourceBase Set to replace the context resource base |
| 106 | * |
| 107 | * resourceCache If set, this is a context attribute name, which the servlet |
| 108 | * will use to look for a shared ResourceCache instance. |
| 109 | * |
| 110 | * relativeResourceBase |
| 111 | * Set with a pathname relative to the base of the |
| 112 | * servlet context root. Useful for only serving static content out |
| 113 | * of only specific subdirectories. |
| 114 | * |
| 115 | * pathInfoOnly If true, only the path info will be applied to the resourceBase |
| 116 | * |
| 117 | * stylesheet Set with the location of an optional stylesheet that will be used |
| 118 | * to decorate the directory listing html. |
| 119 | * |
| 120 | * etags If True, weak etags will be generated and handled. |
| 121 | * |
| 122 | * maxCacheSize The maximum total size of the cache or 0 for no cache. |
| 123 | * maxCachedFileSize The maximum size of a file to cache |
| 124 | * maxCachedFiles The maximum number of files to cache |
| 125 | * |
| 126 | * useFileMappedBuffer |
| 127 | * If set to true, it will use mapped file buffers to serve static content |
| 128 | * when using an NIO connector. Setting this value to false means that |
| 129 | * a direct buffer will be used instead of a mapped file buffer. |
| 130 | * This file sets the value to true. |
| 131 | * |
| 132 | * cacheControl If set, all static content will have this value set as the cache-control |
| 133 | * header. |
| 134 | * |
| 135 | * encodingHeaderCacheSize |
| 136 | * Max entries in a cache of ACCEPT-ENCODING headers. |
| 137 | * |
| 138 | * otherGzipFileExtensions |
| 139 | * defaults to .svgz but a comma separated list of gzip equivalent file extensions can be supplied |
| 140 | * |
| 141 | --> |
| 142 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 143 | <servlet> |
| 144 | <servlet-name>default</servlet-name> |
| 145 | <servlet-class>org.eclipse.jetty.servlet.DefaultServlet</servlet-class> |
| 146 | <init-param> |
| 147 | <param-name>acceptRanges</param-name> |
| 148 | <param-value>true</param-value> |
| 149 | </init-param> |
| 150 | <init-param> |
| 151 | <param-name>dirAllowed</param-name> |
| 152 | <param-value>true</param-value> |
| 153 | </init-param> |
| 154 | <init-param> |
| 155 | <param-name>welcomeServlets</param-name> |
| 156 | <param-value>false</param-value> |
| 157 | </init-param> |
| 158 | <init-param> |
| 159 | <param-name>redirectWelcome</param-name> |
| 160 | <param-value>false</param-value> |
| 161 | </init-param> |
| 162 | <init-param> |
| 163 | <param-name>maxCacheSize</param-name> |
| 164 | <param-value>256000000</param-value> |
| 165 | </init-param> |
| 166 | <init-param> |
| 167 | <param-name>maxCachedFileSize</param-name> |
| 168 | <param-value>200000000</param-value> |
| 169 | </init-param> |
| 170 | <init-param> |
| 171 | <param-name>maxCachedFiles</param-name> |
| 172 | <param-value>2048</param-value> |
| 173 | </init-param> |
| 174 | <init-param> |
| 175 | <param-name>etags</param-name> |
| 176 | <param-value>false</param-value> |
| 177 | </init-param> |
| 178 | <init-param> |
| 179 | <param-name>useFileMappedBuffer</param-name> |
| 180 | <param-value>true</param-value> |
| 181 | </init-param> |
| 182 | <load-on-startup>0</load-on-startup> |
| 183 | </servlet> |
| 184 | |
| 185 | <servlet-mapping> |
| 186 | <servlet-name>default</servlet-name> |
| 187 | <url-pattern>/</url-pattern> |
| 188 | </servlet-mapping> |
| 189 | |
| 190 | |
| 191 | <!-- ==================================================================== --> |
| 192 | <!-- JSP Servlet --> |
| 193 | <!-- This is the jasper JSP servlet. --> |
| 194 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 195 | <!-- The JSP page compiler and execution servlet, which is the mechanism --> |
| 196 | <!-- used by the jsp container to support JSP pages. Traditionally, --> |
| 197 | <!-- this servlet is mapped to URL pattern "*.jsp". This servlet --> |
| 198 | <!-- supports the following initialization parameters (default values --> |
| 199 | <!-- are in square brackets): --> |
| 200 | <!-- --> |
| 201 | <!-- checkInterval If development is false and reloading is true, --> |
| 202 | <!-- background compiles are enabled. checkInterval --> |
| 203 | <!-- is the time in seconds between checks to see --> |
| 204 | <!-- if a JSP page needs to be recompiled. [300] --> |
| 205 | <!-- --> |
| 206 | <!-- compiler Which compiler Ant should use to compile JSP --> |
| 207 | <!-- pages. See the Ant documentation for more --> |
| 208 | <!-- information. [javac] --> |
| 209 | <!-- --> |
| 210 | <!-- classdebuginfo Should the class file be compiled with --> |
| 211 | <!-- debugging information? [true] --> |
| 212 | <!-- --> |
| 213 | <!-- classpath What class path should I use while compiling --> |
| 214 | <!-- generated servlets? [Created dynamically --> |
| 215 | <!-- based on the current web application] --> |
| 216 | <!-- Set to ? to make the container explicitly set --> |
| 217 | <!-- this parameter. --> |
| 218 | <!-- --> |
| 219 | <!-- development Is Jasper used in development mode (will check --> |
| 220 | <!-- for JSP modification on every access)? [true] --> |
| 221 | <!-- --> |
| 222 | <!-- enablePooling Determines whether tag handler pooling is --> |
| 223 | <!-- enabled [true] --> |
| 224 | <!-- --> |
| 225 | <!-- fork Tell Ant to fork compiles of JSP pages so that --> |
| 226 | <!-- a separate JVM is used for JSP page compiles --> |
| 227 | <!-- from the one Tomcat is running in. [true] --> |
| 228 | <!-- --> |
| 229 | <!-- ieClassId The class-id value to be sent to Internet --> |
| 230 | <!-- Explorer when using <jsp:plugin> tags. --> |
| 231 | <!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] --> |
| 232 | <!-- --> |
| 233 | <!-- javaEncoding Java file encoding to use for generating java --> |
| 234 | <!-- source files. [UTF-8] --> |
| 235 | <!-- --> |
| 236 | <!-- keepgenerated Should we keep the generated Java source code --> |
| 237 | <!-- for each page instead of deleting it? [true] --> |
| 238 | <!-- --> |
| 239 | <!-- logVerbosityLevel The level of detailed messages to be produced --> |
| 240 | <!-- by this servlet. Increasing levels cause the --> |
| 241 | <!-- generation of more messages. Valid values are --> |
| 242 | <!-- FATAL, ERROR, WARNING, INFORMATION, and DEBUG. --> |
| 243 | <!-- [WARNING] --> |
| 244 | <!-- --> |
| 245 | <!-- mappedfile Should we generate static content with one --> |
| 246 | <!-- print statement per input line, to ease --> |
| 247 | <!-- debugging? [false] --> |
| 248 | <!-- --> |
| 249 | <!-- --> |
| 250 | <!-- reloading Should Jasper check for modified JSPs? [true] --> |
| 251 | <!-- --> |
| 252 | <!-- suppressSmap Should the generation of SMAP info for JSR45 --> |
| 253 | <!-- debugging be suppressed? [false] --> |
| 254 | <!-- --> |
| 255 | <!-- dumpSmap Should the SMAP info for JSR45 debugging be --> |
| 256 | <!-- dumped to a file? [false] --> |
| 257 | <!-- False if suppressSmap is true --> |
| 258 | <!-- --> |
| 259 | <!-- scratchdir What scratch directory should we use when --> |
| 260 | <!-- compiling JSP pages? [default work directory --> |
| 261 | <!-- for the current web application] --> |
| 262 | <!-- --> |
| 263 | <!-- tagpoolMaxSize The maximum tag handler pool size [5] --> |
| 264 | <!-- --> |
| 265 | <!-- xpoweredBy Determines whether X-Powered-By response --> |
| 266 | <!-- header is added by generated servlet [false] --> |
| 267 | <!-- --> |
| 268 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 269 | <servlet id="jsp"> |
| 270 | <servlet-name>jsp</servlet-name> |
| 271 | <servlet-class>org.eclipse.jetty.jsp.JettyJspServlet</servlet-class> |
| 272 | <init-param> |
| 273 | <param-name>logVerbosityLevel</param-name> |
| 274 | <param-value>DEBUG</param-value> |
| 275 | </init-param> |
| 276 | <init-param> |
| 277 | <param-name>fork</param-name> |
| 278 | <param-value>false</param-value> |
| 279 | </init-param> |
| 280 | <init-param> |
| 281 | <param-name>xpoweredBy</param-name> |
| 282 | <param-value>false</param-value> |
| 283 | </init-param> |
| 284 | <init-param> |
| 285 | <param-name>compilerTargetVM</param-name> |
| 286 | <param-value>1.7</param-value> |
| 287 | </init-param> |
| 288 | <init-param> |
| 289 | <param-name>compilerSourceVM</param-name> |
| 290 | <param-value>1.7</param-value> |
| 291 | </init-param> |
| 292 | <!-- |
| 293 | <init-param> |
| 294 | <param-name>classpath</param-name> |
| 295 | <param-value>?</param-value> |
| 296 | </init-param> |
| 297 | --> |
| 298 | <load-on-startup>0</load-on-startup> |
| 299 | </servlet> |
| 300 | |
| 301 | <servlet-mapping> |
| 302 | <servlet-name>jsp</servlet-name> |
| 303 | <url-pattern>*.jsp</url-pattern> |
| 304 | <url-pattern>*.jspf</url-pattern> |
| 305 | <url-pattern>*.jspx</url-pattern> |
| 306 | <url-pattern>*.xsp</url-pattern> |
| 307 | <url-pattern>*.JSP</url-pattern> |
| 308 | <url-pattern>*.JSPF</url-pattern> |
| 309 | <url-pattern>*.JSPX</url-pattern> |
| 310 | <url-pattern>*.XSP</url-pattern> |
| 311 | </servlet-mapping> |
| 312 | |
| 313 | |
| 314 | <!-- ==================================================================== --> |
| 315 | <!-- Default session configuration --> |
| 316 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 317 | <session-config> |
| 318 | <session-timeout>30</session-timeout> |
| 319 | </session-config> |
| 320 | |
| 321 | <!-- ==================================================================== --> |
| 322 | <!-- Default MIME mappings --> |
| 323 | <!-- The default MIME mappings are provided by the mime.properties --> |
| 324 | <!-- resource in the jetty-http.jar file. Additional or modified --> |
| 325 | <!-- mappings may be specified here --> |
| 326 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 327 | <!-- UNCOMMENT TO ACTIVATE |
| 328 | <mime-mapping> |
| 329 | <extension>mysuffix</extension> |
| 330 | <mime-type>mymime/type</mime-type> |
| 331 | </mime-mapping> |
| 332 | --> |
| 333 | |
| 334 | <!-- ==================================================================== --> |
| 335 | <!-- Default welcome files --> |
| 336 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 337 | <welcome-file-list> |
| 338 | <welcome-file>index.html</welcome-file> |
| 339 | <welcome-file>index.htm</welcome-file> |
| 340 | <welcome-file>index.jsp</welcome-file> |
| 341 | </welcome-file-list> |
| 342 | |
| 343 | <!-- ==================================================================== --> |
| 344 | <!-- Default locale encodings --> |
| 345 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 346 | <locale-encoding-mapping-list> |
| 347 | <locale-encoding-mapping> |
| 348 | <locale>ar</locale> |
| 349 | <encoding>ISO-8859-6</encoding> |
| 350 | </locale-encoding-mapping> |
| 351 | <locale-encoding-mapping> |
| 352 | <locale>be</locale> |
| 353 | <encoding>ISO-8859-5</encoding> |
| 354 | </locale-encoding-mapping> |
| 355 | <locale-encoding-mapping> |
| 356 | <locale>bg</locale> |
| 357 | <encoding>ISO-8859-5</encoding> |
| 358 | </locale-encoding-mapping> |
| 359 | <locale-encoding-mapping> |
| 360 | <locale>ca</locale> |
| 361 | <encoding>ISO-8859-1</encoding> |
| 362 | </locale-encoding-mapping> |
| 363 | <locale-encoding-mapping> |
| 364 | <locale>cs</locale> |
| 365 | <encoding>ISO-8859-2</encoding> |
| 366 | </locale-encoding-mapping> |
| 367 | <locale-encoding-mapping> |
| 368 | <locale>da</locale> |
| 369 | <encoding>ISO-8859-1</encoding> |
| 370 | </locale-encoding-mapping> |
| 371 | <locale-encoding-mapping> |
| 372 | <locale>de</locale> |
| 373 | <encoding>ISO-8859-1</encoding> |
| 374 | </locale-encoding-mapping> |
| 375 | <locale-encoding-mapping> |
| 376 | <locale>el</locale> |
| 377 | <encoding>ISO-8859-7</encoding> |
| 378 | </locale-encoding-mapping> |
| 379 | <locale-encoding-mapping> |
| 380 | <locale>en</locale> |
| 381 | <encoding>ISO-8859-1</encoding> |
| 382 | </locale-encoding-mapping> |
| 383 | <locale-encoding-mapping> |
| 384 | <locale>es</locale> |
| 385 | <encoding>ISO-8859-1</encoding> |
| 386 | </locale-encoding-mapping> |
| 387 | <locale-encoding-mapping> |
| 388 | <locale>et</locale> |
| 389 | <encoding>ISO-8859-1</encoding> |
| 390 | </locale-encoding-mapping> |
| 391 | <locale-encoding-mapping> |
| 392 | <locale>fi</locale> |
| 393 | <encoding>ISO-8859-1</encoding> |
| 394 | </locale-encoding-mapping> |
| 395 | <locale-encoding-mapping> |
| 396 | <locale>fr</locale> |
| 397 | <encoding>ISO-8859-1</encoding> |
| 398 | </locale-encoding-mapping> |
| 399 | <locale-encoding-mapping> |
| 400 | <locale>hr</locale> |
| 401 | <encoding>ISO-8859-2</encoding> |
| 402 | </locale-encoding-mapping> |
| 403 | <locale-encoding-mapping> |
| 404 | <locale>hu</locale> |
| 405 | <encoding>ISO-8859-2</encoding> |
| 406 | </locale-encoding-mapping> |
| 407 | <locale-encoding-mapping> |
| 408 | <locale>is</locale> |
| 409 | <encoding>ISO-8859-1</encoding> |
| 410 | </locale-encoding-mapping> |
| 411 | <locale-encoding-mapping> |
| 412 | <locale>it</locale> |
| 413 | <encoding>ISO-8859-1</encoding> |
| 414 | </locale-encoding-mapping> |
| 415 | <locale-encoding-mapping> |
| 416 | <locale>iw</locale> |
| 417 | <encoding>ISO-8859-8</encoding> |
| 418 | </locale-encoding-mapping> |
| 419 | <locale-encoding-mapping> |
| 420 | <locale>ja</locale> |
| 421 | <encoding>Shift_JIS</encoding> |
| 422 | </locale-encoding-mapping> |
| 423 | <locale-encoding-mapping> |
| 424 | <locale>ko</locale> |
| 425 | <encoding>EUC-KR</encoding> |
| 426 | </locale-encoding-mapping> |
| 427 | <locale-encoding-mapping> |
| 428 | <locale>lt</locale> |
| 429 | <encoding>ISO-8859-2</encoding> |
| 430 | </locale-encoding-mapping> |
| 431 | <locale-encoding-mapping> |
| 432 | <locale>lv</locale> |
| 433 | <encoding>ISO-8859-2</encoding> |
| 434 | </locale-encoding-mapping> |
| 435 | <locale-encoding-mapping> |
| 436 | <locale>mk</locale> |
| 437 | <encoding>ISO-8859-5</encoding> |
| 438 | </locale-encoding-mapping> |
| 439 | <locale-encoding-mapping> |
| 440 | <locale>nl</locale> |
| 441 | <encoding>ISO-8859-1</encoding> |
| 442 | </locale-encoding-mapping> |
| 443 | <locale-encoding-mapping> |
| 444 | <locale>no</locale> |
| 445 | <encoding>ISO-8859-1</encoding> |
| 446 | </locale-encoding-mapping> |
| 447 | <locale-encoding-mapping> |
| 448 | <locale>pl</locale> |
| 449 | <encoding>ISO-8859-2</encoding> |
| 450 | </locale-encoding-mapping> |
| 451 | <locale-encoding-mapping> |
| 452 | <locale>pt</locale> |
| 453 | <encoding>ISO-8859-1</encoding> |
| 454 | </locale-encoding-mapping> |
| 455 | <locale-encoding-mapping> |
| 456 | <locale>ro</locale> |
| 457 | <encoding>ISO-8859-2</encoding> |
| 458 | </locale-encoding-mapping> |
| 459 | <locale-encoding-mapping> |
| 460 | <locale>ru</locale> |
| 461 | <encoding>ISO-8859-5</encoding> |
| 462 | </locale-encoding-mapping> |
| 463 | <locale-encoding-mapping> |
| 464 | <locale>sh</locale> |
| 465 | <encoding>ISO-8859-5</encoding> |
| 466 | </locale-encoding-mapping> |
| 467 | <locale-encoding-mapping> |
| 468 | <locale>sk</locale> |
| 469 | <encoding>ISO-8859-2</encoding> |
| 470 | </locale-encoding-mapping> |
| 471 | <locale-encoding-mapping> |
| 472 | <locale>sl</locale> |
| 473 | <encoding>ISO-8859-2</encoding> |
| 474 | </locale-encoding-mapping> |
| 475 | <locale-encoding-mapping> |
| 476 | <locale>sq</locale> |
| 477 | <encoding>ISO-8859-2</encoding> |
| 478 | </locale-encoding-mapping> |
| 479 | <locale-encoding-mapping> |
| 480 | <locale>sr</locale> |
| 481 | <encoding>ISO-8859-5</encoding> |
| 482 | </locale-encoding-mapping> |
| 483 | <locale-encoding-mapping> |
| 484 | <locale>sv</locale> |
| 485 | <encoding>ISO-8859-1</encoding> |
| 486 | </locale-encoding-mapping> |
| 487 | <locale-encoding-mapping> |
| 488 | <locale>tr</locale> |
| 489 | <encoding>ISO-8859-9</encoding> |
| 490 | </locale-encoding-mapping> |
| 491 | <locale-encoding-mapping> |
| 492 | <locale>uk</locale> |
| 493 | <encoding>ISO-8859-5</encoding> |
| 494 | </locale-encoding-mapping> |
| 495 | <locale-encoding-mapping> |
| 496 | <locale>zh</locale> |
| 497 | <encoding>GB2312</encoding> |
| 498 | </locale-encoding-mapping> |
| 499 | <locale-encoding-mapping> |
| 500 | <locale>zh_TW</locale> |
| 501 | <encoding>Big5</encoding> |
| 502 | </locale-encoding-mapping> |
| 503 | </locale-encoding-mapping-list> |
| 504 | |
| 505 | <!-- ==================================================================== --> |
| 506 | <!-- Disable TRACE method with security constraint --> |
| 507 | <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| 508 | <security-constraint> |
| 509 | <web-resource-collection> |
| 510 | <web-resource-name>Disable TRACE</web-resource-name> |
| 511 | <url-pattern>/</url-pattern> |
| 512 | <http-method>TRACE</http-method> |
| 513 | </web-resource-collection> |
| 514 | <auth-constraint/> |
| 515 | </security-constraint> |
| 516 | <security-constraint> |
| 517 | <web-resource-collection> |
| 518 | <web-resource-name>Enable everything but TRACE</web-resource-name> |
| 519 | <url-pattern>/</url-pattern> |
| 520 | <http-method-omission>TRACE</http-method-omission> |
| 521 | </web-resource-collection> |
| 522 | </security-constraint> |
| 523 | |
| 524 | </web-app> |
| 525 |