source: nutchez-0.1/tomcat/conf/web.xml @ 95

Last change on this file since 95 was 66, checked in by waue, 16 years ago

NutchEz - an easy way to nutch

File size: 48.9 KB
RevLine 
[66]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--
3  Licensed to the Apache Software Foundation (ASF) under one or more
4  contributor license agreements.  See the NOTICE file distributed with
5  this work for additional information regarding copyright ownership.
6  The ASF licenses this file to You under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with
8  the License.  You may obtain a copy of the License at
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17-->
18<web-app xmlns="http://java.sun.com/xml/ns/javaee"
19    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
21    version="2.5">
22
23  <!-- ======================== Introduction ============================== -->
24  <!-- This document defines default values for *all* web applications      -->
25  <!-- loaded into this instance of Tomcat.  As each application is         -->
26  <!-- deployed, this file is processed, followed by the                    -->
27  <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
28  <!-- applications.                                                        -->
29  <!--                                                                      -->
30  <!-- WARNING:  Do not configure application-specific resources here!      -->
31  <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
32
33
34  <!-- ================== Built In Servlet Definitions ==================== -->
35
36
37  <!-- The default servlet for all web applications, that serves static     -->
38  <!-- resources.  It processes all requests that are not mapped to other   -->
39  <!-- servlets with servlet mappings (defined either here or in your own   -->
40  <!-- web.xml file.  This servlet supports the following initialization    -->
41  <!-- parameters (default values are in square brackets):                  -->
42  <!--                                                                      -->
43  <!--   debug               Debugging detail level for messages logged     -->
44  <!--                       by this servlet.  [0]                          -->
45  <!--                                                                      -->
46  <!--   fileEncoding        Encoding to be used to read static resources   -->
47  <!--                       [platform default]                             -->
48  <!--                                                                      -->
49  <!--   input               Input buffer size (in bytes) when reading      -->
50  <!--                       resources to be served.  [2048]                -->
51  <!--                                                                      -->
52  <!--   listings            Should directory listings be produced if there -->
53  <!--                       is no welcome file in this directory?  [false] -->
54  <!--                       WARNING: Listings for directories with many    -->
55  <!--                       entries can be slow and may consume            -->
56  <!--                       significant proportions of server resources.   -->
57  <!--                                                                      -->
58  <!--   output              Output buffer size (in bytes) when writing     -->
59  <!--                       resources to be served.  [2048]                -->
60  <!--                                                                      -->
61  <!--   readonly            Is this context "read only", so HTTP           -->
62  <!--                       commands like PUT and DELETE are               -->
63  <!--                       rejected?  [true]                              -->
64  <!--                                                                      -->
65  <!--   readmeFile          File name to display with the directory        -->
66  <!--                       contents. [null]                               -->
67  <!--                                                                      -->
68  <!--   sendfileSize        If the connector used supports sendfile, this  -->
69  <!--                       represents the minimal file size in KB for     -->
70  <!--                       which sendfile will be used. Use a negative    -->
71  <!--                       value to always disable sendfile.  [48]        -->
72  <!--                                                                      -->
73  <!--  For directory listing customization. Checks localXsltFile, then     -->
74  <!--  globalXsltFile, then defaults to original behavior.                 -->
75  <!--                                                                      -->
76  <!--   localXsltFile       Make directory listings an XML doc and         -->
77  <!--                       pass the result to this style sheet residing   -->
78  <!--                       in that directory. This overrides              -->
79  <!--                        globalXsltFile[null]                          -->
80  <!--                                                                      -->
81  <!--   globalXsltFile      Site wide configuration version of             -->
82  <!--                       localXsltFile This argument is expected        -->
83  <!--                       to be a physical file. [null]                  -->
84  <!--                                                                      -->
85  <!--                                                                      -->
86
87    <servlet>
88        <servlet-name>default</servlet-name>
89        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
90        <init-param>
91            <param-name>debug</param-name>
92            <param-value>0</param-value>
93        </init-param>
94        <init-param>
95            <param-name>listings</param-name>
96            <param-value>false</param-value>
97        </init-param>
98        <load-on-startup>1</load-on-startup>
99    </servlet>
100
101
102  <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
103  <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
104  <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
105  <!-- it to other patterns as well.  The extra path info portion of such a -->
106  <!-- request must be the fully qualified class name of a Java class that  -->
107  <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
108  <!-- of an existing servlet definition.     This servlet supports the     -->
109  <!-- following initialization parameters (default values are in square    -->
110  <!-- brackets):                                                           -->
111  <!--                                                                      -->
112  <!--   debug               Debugging detail level for messages logged     -->
113  <!--                       by this servlet.  [0]                          -->
114
115<!--
116    <servlet>
117        <servlet-name>invoker</servlet-name>
118        <servlet-class>
119          org.apache.catalina.servlets.InvokerServlet
120        </servlet-class>
121        <init-param>
122            <param-name>debug</param-name>
123            <param-value>0</param-value>
124        </init-param>
125        <load-on-startup>2</load-on-startup>
126    </servlet>
127-->
128
129
130  <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
131  <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
132  <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
133  <!-- following initialization parameters (default values are in square    -->
134  <!-- brackets):                                                           -->
135  <!--                                                                      -->
136  <!--   checkInterval       If development is false and checkInterval is   -->
137  <!--                       greater than zero, background compilations are -->
138  <!--                       enabled. checkInterval is the time in seconds  -->
139  <!--                       between checks to see if a JSP page (and its   -->
140  <!--                       dependent files) needs to  be recompiled. [0]  -->
141  <!--                                                                      -->
142  <!--   classdebuginfo      Should the class file be compiled with         -->
143  <!--                       debugging information?  [true]                 -->
144  <!--                                                                      -->
145  <!--   classpath           What class path should I use while compiling   -->
146  <!--                       generated servlets?  [Created dynamically      -->
147  <!--                       based on the current web application]          -->
148  <!--                                                                      -->
149  <!--   compiler            Which compiler Ant should use to compile JSP   -->
150  <!--                       pages.  See the jasper documentation for more  -->
151  <!--                       information.                                   -->
152  <!--                                                                      -->
153  <!--   compilerSourceVM    Compiler source VM                             -->
154  <!--                       default is System.properties                   -->
155  <!--                        java.specification.version > 1.4              -->
156  <!--                        [1.5] else [1.4]                              -->
157  <!--                                                                      -->
158  <!--   compilerTargetVM    Compiler target VM                             --> 
159  <!--                       default is System.properties                   -->
160  <!--                        java.specification.version > 1.4              -->
161  <!--                        [1.5] else [1.4]                              -->
162  <!--                                                                      -->
163  <!--   development         Is Jasper used in development mode? If true,   -->
164  <!--                       the frequency at which JSPs are checked for    -->
165  <!--                       modification may be specified via the          -->
166  <!--                       modificationTestInterval parameter. [true]     -->
167  <!--                                                                      -->
168  <!--   displaySourceFragment                                              -->
169  <!--                       Should a source fragment be included in        -->
170  <!--                       exception messages? [true]                     -->
171  <!--                                                                      -->
172  <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
173  <!--                       dumped to a file? [false]                      -->
174  <!--                       False if suppressSmap is true                  -->
175  <!--                                                                      -->
176  <!--   enablePooling       Determines whether tag handler pooling is      -->
177  <!--                       enabled  [true]                                -->
178  <!--                                                                      -->
179  <!--   engineOptionsClass  Allows specifying the Options class used to    -->
180  <!--                       configure Jasper. If not present, the default  -->
181  <!--                       EmbeddedServletOptions will be used.           -->
182  <!--                                                                      -->
183  <!--   errorOnUseBeanInvalidClassAttribute                                -->
184  <!--                       Should Jasper issue an error when the value of -->
185  <!--                       the class attribute in an useBean action is    -->
186  <!--                       not a valid bean class?  [true]                -->
187  <!--                                                                      -->
188  <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
189  <!--                       a separate JVM is used for JSP page compiles   -->
190  <!--                       from the one Tomcat is running in. [true]      -->
191  <!--                                                                      -->
192  <!--   genStrAsCharArray   Should text strings be generated as char       -->
193  <!--                       arrays, to improve performance in some cases?  -->
194  <!--                       [false]                                        -->
195  <!--                                                                      -->
196  <!--   ieClassId           The class-id value to be sent to Internet      -->
197  <!--                       Explorer when using <jsp:plugin> tags.         -->
198  <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
199  <!--                                                                      -->
200  <!--   javaEncoding        Java file encoding to use for generating java  -->
201  <!--                       source files. [UTF8]                           -->
202  <!--                                                                      -->
203  <!--   keepgenerated       Should we keep the generated Java source code  -->
204  <!--                       for each page instead of deleting it? [true]   -->
205  <!--                                                                      -->
206  <!--   mappedfile          Should we generate static content with one     -->
207  <!--                       print statement per input line, to ease        -->
208  <!--                       debugging?  [true]                             -->
209  <!--                                                                      -->
210  <!--   modificationTestInterval                                           -->
211  <!--                       Causes a JSP (and its dependent files) to not  -->
212  <!--                       be checked for modification during the         -->
213  <!--                       specified time interval (in seconds) from the  -->
214  <!--                       last time the JSP was checked for              -->
215  <!--                       modification. A value of 0 will cause the JSP  -->
216  <!--                       to be checked on every access.                 -->
217  <!--                       Used in development mode only. [4]             -->
218  <!--                                                                      -->
219  <!--   scratchdir          What scratch directory should we use when      -->
220  <!--                       compiling JSP pages?  [default work directory  -->
221  <!--                       for the current web application]               -->
222  <!--                                                                      -->
223  <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
224  <!--                       debugging be suppressed?  [false]              -->
225  <!--                                                                      -->
226  <!--   trimSpaces          Should white spaces in template text between   -->
227  <!--                       actions or directives be trimmed?  [false]     -->
228  <!--                                                                      -->
229  <!--   xpoweredBy          Determines whether X-Powered-By response       -->
230  <!--                       header is added by generated servlet  [false]  -->
231  <!--                                                                      -->
232  <!-- If you wish to use Jikes to compile JSP pages:                       -->
233  <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
234  <!--   page in the Tomcat documentation.                                  -->
235
236    <servlet>
237        <servlet-name>jsp</servlet-name>
238        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
239        <init-param>
240            <param-name>fork</param-name>
241            <param-value>false</param-value>
242        </init-param>
243        <init-param>
244            <param-name>xpoweredBy</param-name>
245            <param-value>false</param-value>
246        </init-param>
247        <load-on-startup>3</load-on-startup>
248    </servlet>
249
250
251  <!-- NOTE: An SSI Filter is also available as an alternative SSI          -->
252  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
253  <!--                                                                      -->
254  <!-- Server Side Includes processing servlet, which processes SSI         -->
255  <!-- directives in HTML pages consistent with similar support in web      -->
256  <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
257  <!-- URL pattern "*.shtml".  This servlet supports the following          -->
258  <!-- initialization parameters (default values are in square brackets):   -->
259  <!--                                                                      -->
260  <!--   buffered            Should output from this servlet be buffered?   -->
261  <!--                       (0=false, 1=true)  [0]                         -->
262  <!--                                                                      -->
263  <!--   debug               Debugging detail level for messages logged     -->
264  <!--                       by this servlet.  [0]                          -->
265  <!--                                                                      -->
266  <!--   expires             The number of seconds before a page with SSI   -->
267  <!--                       directives will expire.  [No default]          -->
268  <!--                                                                      -->
269  <!--   isVirtualWebappRelative                                            -->
270  <!--                       Should "virtual" paths be interpreted as       -->
271  <!--                       relative to the context root, instead of       -->
272  <!--                       the server root?  (0=false, 1=true) [0]        -->
273  <!--                                                                      -->
274  <!--   inputEncoding       The encoding to assume for SSI resources if    -->
275  <!--                       one is not available from the resource.        -->
276  <!--                       [Platform default]                             -->
277  <!--                                                                      -->
278  <!--   outputEncoding      The encoding to use for the page that results  -->
279  <!--                       from the SSI processing. [UTF-8]               -->
280
281<!--
282    <servlet>
283        <servlet-name>ssi</servlet-name>
284        <servlet-class>
285          org.apache.catalina.ssi.SSIServlet
286        </servlet-class>
287        <init-param>
288          <param-name>buffered</param-name>
289          <param-value>1</param-value>
290        </init-param>
291        <init-param>
292          <param-name>debug</param-name>
293          <param-value>0</param-value>
294        </init-param>
295        <init-param>
296          <param-name>expires</param-name>
297          <param-value>666</param-value>
298        </init-param>
299        <init-param>
300          <param-name>isVirtualWebappRelative</param-name>
301          <param-value>0</param-value>
302        </init-param>
303        <load-on-startup>4</load-on-startup>
304    </servlet>
305-->
306
307
308  <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
309  <!-- execution of external applications that conform to the CGI spec      -->
310  <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
311  <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
312  <!-- executed must be present within the web application.  This servlet   -->
313  <!-- supports the following initialization parameters (default values     -->
314  <!-- are in square brackets):                                             -->
315  <!--                                                                      -->
316  <!--   cgiPathPrefix        The CGI search path will start at             -->
317  <!--                        webAppRootDir + File.separator + this prefix. -->
318  <!--                        [WEB-INF/cgi]                                 -->
319  <!--                                                                      -->
320  <!--   debug                Debugging detail level for messages logged    -->
321  <!--                        by this servlet.  [0]                         -->
322  <!--                                                                      -->
323  <!--   executable           Name of the exectuable used to run the        -->
324  <!--                        script. [perl]                                -->
325  <!--                                                                      -->
326  <!--   parameterEncoding    Name of parameter encoding to be used with    -->
327  <!--                        CGI servlet.                                  -->
328  <!--                        [System.getProperty("file.encoding","UTF-8")] -->
329  <!--                                                                      -->
330  <!--   passShellEnvironment Should the shell environment variables (if    -->
331  <!--                        any) be passed to the CGI script? [false]     -->
332
333<!--
334    <servlet>
335        <servlet-name>cgi</servlet-name>
336        <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
337        <init-param>
338          <param-name>debug</param-name>
339          <param-value>0</param-value>
340        </init-param>
341        <init-param>
342          <param-name>cgiPathPrefix</param-name>
343          <param-value>WEB-INF/cgi</param-value>
344        </init-param>
345         <load-on-startup>5</load-on-startup>
346    </servlet>
347-->
348
349
350  <!-- ================ Built In Servlet Mappings ========================= -->
351
352
353  <!-- The servlet mappings for the built in servlets defined above.  Note  -->
354  <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
355  <!-- must uncomment these mappings (or add them to your application's own -->
356  <!-- web.xml deployment descriptor) to enable these services              -->
357
358    <!-- The mapping for the default servlet -->
359    <servlet-mapping>
360        <servlet-name>default</servlet-name>
361        <url-pattern>/</url-pattern>
362    </servlet-mapping>
363
364    <!-- The mapping for the invoker servlet -->
365<!--
366    <servlet-mapping>
367        <servlet-name>invoker</servlet-name>
368        <url-pattern>/servlet/*</url-pattern>
369    </servlet-mapping>
370-->
371
372    <!-- The mapping for the JSP servlet -->
373    <servlet-mapping>
374        <servlet-name>jsp</servlet-name>
375        <url-pattern>*.jsp</url-pattern>
376    </servlet-mapping>
377
378    <servlet-mapping>
379        <servlet-name>jsp</servlet-name>
380        <url-pattern>*.jspx</url-pattern>
381    </servlet-mapping>
382
383    <!-- The mapping for the SSI servlet -->
384<!--
385    <servlet-mapping>
386        <servlet-name>ssi</servlet-name>
387        <url-pattern>*.shtml</url-pattern>
388    </servlet-mapping>
389-->
390
391    <!-- The mapping for the CGI Gateway servlet -->
392
393<!--
394    <servlet-mapping>
395        <servlet-name>cgi</servlet-name>
396        <url-pattern>/cgi-bin/*</url-pattern>
397    </servlet-mapping>
398-->
399
400
401  <!-- ================== Built In Filter Definitions ===================== -->
402
403  <!-- NOTE: An SSI Servlet is also available as an alternative SSI         -->
404  <!-- implementation. Use either the Servlet or the Filter but NOT both.   -->
405  <!--                                                                      -->
406  <!-- Server Side Includes processing filter, which processes SSI          -->
407  <!-- directives in HTML pages consistent with similar support in web      -->
408  <!-- servers like Apache.  Traditionally, this filter is mapped to the    -->
409  <!-- URL pattern "*.shtml", though it can be mapped to "*" as it will     -->
410  <!-- selectively enable/disable SSI processing based on mime types. For   -->
411  <!-- this to work you will need to uncomment the .shtml mime type         -->
412  <!-- definition towards the bottom of this file.                          -->
413  <!-- The contentType init param allows you to apply SSI processing to JSP -->
414  <!-- pages, javascript, or any other content you wish.  This filter       -->
415  <!-- supports the following initialization parameters (default values are -->
416  <!-- in square brackets):                                                 -->
417  <!--                                                                      -->
418  <!--   contentType         A regex pattern that must be matched before    -->
419  <!--                       SSI processing is applied.                     -->
420  <!--                       [text/x-server-parsed-html(;.*)?]              -->
421  <!--                                                                      -->
422  <!--   debug               Debugging detail level for messages logged     -->
423  <!--                       by this servlet.  [0]                          -->
424  <!--                                                                      -->
425  <!--   expires             The number of seconds before a page with SSI   -->
426  <!--                       directives will expire.  [No default]          -->
427  <!--                                                                      -->
428  <!--   isVirtualWebappRelative                                            -->
429  <!--                       Should "virtual" paths be interpreted as       -->
430  <!--                       relative to the context root, instead of       -->
431  <!--                       the server root?  (0=false, 1=true) [0]        -->
432
433<!--
434    <filter>
435        <filter-name>ssi</filter-name>
436        <filter-class>
437          org.apache.catalina.ssi.SSIFilter
438        </filter-class>
439        <init-param>
440          <param-name>contentType</param-name>
441          <param-value>text/x-server-parsed-html(;.*)?</param-value>
442        </init-param>
443        <init-param>
444          <param-name>debug</param-name>
445          <param-value>0</param-value>
446        </init-param>
447        <init-param>
448          <param-name>expires</param-name>
449          <param-value>666</param-value>
450        </init-param>
451        <init-param>
452          <param-name>isVirtualWebappRelative</param-name>
453          <param-value>0</param-value>
454        </init-param>
455    </filter>
456-->
457
458
459  <!-- ==================== Built In Filter Mappings ====================== -->
460
461  <!-- The mapping for the SSI Filter -->
462<!--
463    <filter-mapping>
464        <filter-name>ssi</filter-name>
465        <url-pattern>*.shtml</url-pattern>
466    </filter-mapping>
467-->
468
469
470  <!-- ==================== Default Session Configuration ================= -->
471  <!-- You can set the default session timeout (in minutes) for all newly   -->
472  <!-- created sessions by modifying the value below.                       -->
473
474    <session-config>
475        <session-timeout>30</session-timeout>
476    </session-config>
477
478
479  <!-- ===================== Default MIME Type Mappings =================== -->
480  <!-- When serving static resources, Tomcat will automatically generate    -->
481  <!-- a "Content-Type" header based on the resource's filename extension,  -->
482  <!-- based on these mappings.  Additional mappings can be added here (to  -->
483  <!-- apply to all web applications), or in your own application's web.xml -->
484  <!-- deployment descriptor.                                               -->
485
486    <mime-mapping>
487        <extension>abs</extension>
488        <mime-type>audio/x-mpeg</mime-type>
489    </mime-mapping>
490    <mime-mapping>
491        <extension>ai</extension>
492        <mime-type>application/postscript</mime-type>
493    </mime-mapping>
494    <mime-mapping>
495        <extension>aif</extension>
496        <mime-type>audio/x-aiff</mime-type>
497    </mime-mapping>
498    <mime-mapping>
499        <extension>aifc</extension>
500        <mime-type>audio/x-aiff</mime-type>
501    </mime-mapping>
502    <mime-mapping>
503        <extension>aiff</extension>
504        <mime-type>audio/x-aiff</mime-type>
505    </mime-mapping>
506    <mime-mapping>
507        <extension>aim</extension>
508        <mime-type>application/x-aim</mime-type>
509    </mime-mapping>
510    <mime-mapping>
511        <extension>art</extension>
512        <mime-type>image/x-jg</mime-type>
513    </mime-mapping>
514    <mime-mapping>
515        <extension>asf</extension>
516        <mime-type>video/x-ms-asf</mime-type>
517    </mime-mapping>
518    <mime-mapping>
519        <extension>asx</extension>
520        <mime-type>video/x-ms-asf</mime-type>
521    </mime-mapping>
522    <mime-mapping>
523        <extension>au</extension>
524        <mime-type>audio/basic</mime-type>
525    </mime-mapping>
526    <mime-mapping>
527        <extension>avi</extension>
528        <mime-type>video/x-msvideo</mime-type>
529    </mime-mapping>
530    <mime-mapping>
531        <extension>avx</extension>
532        <mime-type>video/x-rad-screenplay</mime-type>
533    </mime-mapping>
534    <mime-mapping>
535        <extension>bcpio</extension>
536        <mime-type>application/x-bcpio</mime-type>
537    </mime-mapping>
538    <mime-mapping>
539        <extension>bin</extension>
540        <mime-type>application/octet-stream</mime-type>
541    </mime-mapping>
542    <mime-mapping>
543        <extension>bmp</extension>
544        <mime-type>image/bmp</mime-type>
545    </mime-mapping>
546    <mime-mapping>
547        <extension>body</extension>
548        <mime-type>text/html</mime-type>
549    </mime-mapping>
550    <mime-mapping>
551        <extension>cdf</extension>
552        <mime-type>application/x-cdf</mime-type>
553    </mime-mapping>
554    <mime-mapping>
555        <extension>cer</extension>
556        <mime-type>application/x-x509-ca-cert</mime-type>
557    </mime-mapping>
558    <mime-mapping>
559        <extension>class</extension>
560        <mime-type>application/java</mime-type>
561    </mime-mapping>
562    <mime-mapping>
563        <extension>cpio</extension>
564        <mime-type>application/x-cpio</mime-type>
565    </mime-mapping>
566    <mime-mapping>
567        <extension>csh</extension>
568        <mime-type>application/x-csh</mime-type>
569    </mime-mapping>
570    <mime-mapping>
571        <extension>css</extension>
572        <mime-type>text/css</mime-type>
573    </mime-mapping>
574    <mime-mapping>
575        <extension>dib</extension>
576        <mime-type>image/bmp</mime-type>
577    </mime-mapping>
578    <mime-mapping>
579        <extension>doc</extension>
580        <mime-type>application/msword</mime-type>
581    </mime-mapping>
582    <mime-mapping>
583        <extension>dtd</extension>
584        <mime-type>application/xml-dtd</mime-type>
585    </mime-mapping>
586    <mime-mapping>
587        <extension>dv</extension>
588        <mime-type>video/x-dv</mime-type>
589    </mime-mapping>
590    <mime-mapping>
591        <extension>dvi</extension>
592        <mime-type>application/x-dvi</mime-type>
593    </mime-mapping>
594    <mime-mapping>
595        <extension>eps</extension>
596        <mime-type>application/postscript</mime-type>
597    </mime-mapping>
598    <mime-mapping>
599        <extension>etx</extension>
600        <mime-type>text/x-setext</mime-type>
601    </mime-mapping>
602    <mime-mapping>
603        <extension>exe</extension>
604        <mime-type>application/octet-stream</mime-type>
605    </mime-mapping>
606    <mime-mapping>
607        <extension>gif</extension>
608        <mime-type>image/gif</mime-type>
609    </mime-mapping>
610    <mime-mapping>
611        <extension>gtar</extension>
612        <mime-type>application/x-gtar</mime-type>
613    </mime-mapping>
614    <mime-mapping>
615        <extension>gz</extension>
616        <mime-type>application/x-gzip</mime-type>
617    </mime-mapping>
618    <mime-mapping>
619        <extension>hdf</extension>
620        <mime-type>application/x-hdf</mime-type>
621    </mime-mapping>
622    <mime-mapping>
623        <extension>hqx</extension>
624        <mime-type>application/mac-binhex40</mime-type>
625    </mime-mapping>
626    <mime-mapping>
627        <extension>htc</extension>
628        <mime-type>text/x-component</mime-type>
629    </mime-mapping>
630    <mime-mapping>
631        <extension>htm</extension>
632        <mime-type>text/html</mime-type>
633    </mime-mapping>
634    <mime-mapping>
635        <extension>html</extension>
636        <mime-type>text/html</mime-type>
637    </mime-mapping>
638    <mime-mapping>
639        <extension>hqx</extension>
640        <mime-type>application/mac-binhex40</mime-type>
641    </mime-mapping>
642    <mime-mapping>
643        <extension>ief</extension>
644        <mime-type>image/ief</mime-type>
645    </mime-mapping>
646    <mime-mapping>
647        <extension>jad</extension>
648        <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
649    </mime-mapping>
650    <mime-mapping>
651        <extension>jar</extension>
652        <mime-type>application/java-archive</mime-type>
653    </mime-mapping>
654    <mime-mapping>
655        <extension>java</extension>
656        <mime-type>text/plain</mime-type>
657    </mime-mapping>
658    <mime-mapping>
659        <extension>jnlp</extension>
660        <mime-type>application/x-java-jnlp-file</mime-type>
661    </mime-mapping>
662    <mime-mapping>
663        <extension>jpe</extension>
664        <mime-type>image/jpeg</mime-type>
665    </mime-mapping>
666    <mime-mapping>
667        <extension>jpeg</extension>
668        <mime-type>image/jpeg</mime-type>
669    </mime-mapping>
670    <mime-mapping>
671        <extension>jpg</extension>
672        <mime-type>image/jpeg</mime-type>
673    </mime-mapping>
674    <mime-mapping>
675        <extension>js</extension>
676        <mime-type>text/javascript</mime-type>
677    </mime-mapping>
678    <mime-mapping>
679        <extension>jsf</extension>
680        <mime-type>text/plain</mime-type>
681    </mime-mapping>
682    <mime-mapping>
683        <extension>jspf</extension>
684        <mime-type>text/plain</mime-type>
685    </mime-mapping>
686    <mime-mapping>
687        <extension>kar</extension>
688        <mime-type>audio/x-midi</mime-type>
689    </mime-mapping>
690    <mime-mapping>
691        <extension>latex</extension>
692        <mime-type>application/x-latex</mime-type>
693    </mime-mapping>
694    <mime-mapping>
695        <extension>m3u</extension>
696        <mime-type>audio/x-mpegurl</mime-type>
697    </mime-mapping>
698    <mime-mapping>
699        <extension>mac</extension>
700        <mime-type>image/x-macpaint</mime-type>
701    </mime-mapping>
702    <mime-mapping>
703        <extension>man</extension>
704        <mime-type>application/x-troff-man</mime-type>
705    </mime-mapping>
706    <mime-mapping>
707        <extension>mathml</extension>
708        <mime-type>application/mathml+xml</mime-type> 
709    </mime-mapping>
710    <mime-mapping>
711        <extension>me</extension>
712        <mime-type>application/x-troff-me</mime-type>
713    </mime-mapping>
714    <mime-mapping>
715        <extension>mid</extension>
716        <mime-type>audio/x-midi</mime-type>
717    </mime-mapping>
718    <mime-mapping>
719        <extension>midi</extension>
720        <mime-type>audio/x-midi</mime-type>
721    </mime-mapping>
722    <mime-mapping>
723        <extension>mif</extension>
724        <mime-type>application/x-mif</mime-type>
725    </mime-mapping>
726    <mime-mapping>
727        <extension>mov</extension>
728        <mime-type>video/quicktime</mime-type>
729    </mime-mapping>
730    <mime-mapping>
731        <extension>movie</extension>
732        <mime-type>video/x-sgi-movie</mime-type>
733    </mime-mapping>
734    <mime-mapping>
735        <extension>mp1</extension>
736        <mime-type>audio/x-mpeg</mime-type>
737    </mime-mapping>
738    <mime-mapping>
739        <extension>mp2</extension>
740        <mime-type>audio/x-mpeg</mime-type>
741    </mime-mapping>
742    <mime-mapping>
743        <extension>mp3</extension>
744        <mime-type>audio/x-mpeg</mime-type>
745    </mime-mapping>
746    <mime-mapping>
747        <extension>mp4</extension>
748        <mime-type>video/mp4</mime-type>
749    </mime-mapping>
750    <mime-mapping>
751        <extension>mpa</extension>
752        <mime-type>audio/x-mpeg</mime-type>
753    </mime-mapping>
754    <mime-mapping>
755        <extension>mpe</extension>
756        <mime-type>video/mpeg</mime-type>
757    </mime-mapping>
758    <mime-mapping>
759        <extension>mpeg</extension>
760        <mime-type>video/mpeg</mime-type>
761    </mime-mapping>
762    <mime-mapping>
763        <extension>mpega</extension>
764        <mime-type>audio/x-mpeg</mime-type>
765    </mime-mapping>
766    <mime-mapping>
767        <extension>mpg</extension>
768        <mime-type>video/mpeg</mime-type>
769    </mime-mapping>
770    <mime-mapping>
771        <extension>mpv2</extension>
772        <mime-type>video/mpeg2</mime-type>
773    </mime-mapping>
774    <mime-mapping>
775        <extension>ms</extension>
776        <mime-type>application/x-wais-source</mime-type>
777    </mime-mapping>
778    <mime-mapping>
779        <extension>nc</extension>
780        <mime-type>application/x-netcdf</mime-type>
781    </mime-mapping>
782    <mime-mapping>
783        <extension>oda</extension>
784        <mime-type>application/oda</mime-type>
785    </mime-mapping>
786    <mime-mapping>
787        <!-- OpenDocument Database -->
788        <extension>odb</extension>
789        <mime-type>application/vnd.oasis.opendocument.database</mime-type>
790    </mime-mapping>
791    <mime-mapping>
792        <!-- OpenDocument Chart -->
793        <extension>odc</extension>
794        <mime-type>application/vnd.oasis.opendocument.chart</mime-type>
795    </mime-mapping>
796    <mime-mapping>
797        <!-- OpenDocument Formula -->
798        <extension>odf</extension>
799        <mime-type>application/vnd.oasis.opendocument.formula</mime-type>
800    </mime-mapping>
801    <mime-mapping>
802        <!-- OpenDocument Drawing -->
803        <extension>odg</extension>
804        <mime-type>application/vnd.oasis.opendocument.graphics</mime-type>
805    </mime-mapping>
806    <mime-mapping>
807        <!-- OpenDocument Image -->
808        <extension>odi</extension>
809        <mime-type>application/vnd.oasis.opendocument.image</mime-type>
810    </mime-mapping>
811    <mime-mapping>
812        <!-- OpenDocument Master Document -->
813        <extension>odm</extension>
814        <mime-type>application/vnd.oasis.opendocument.text-master</mime-type>
815    </mime-mapping>
816    <mime-mapping>
817        <!-- OpenDocument Presentation -->
818        <extension>odp</extension>
819        <mime-type>application/vnd.oasis.opendocument.presentation</mime-type>
820    </mime-mapping>
821    <mime-mapping>
822        <!-- OpenDocument Spreadsheet -->
823        <extension>ods</extension>
824        <mime-type>application/vnd.oasis.opendocument.spreadsheet</mime-type>
825    </mime-mapping>
826    <mime-mapping>
827        <!-- OpenDocument Text -->
828        <extension>odt</extension>
829        <mime-type>application/vnd.oasis.opendocument.text</mime-type>
830    </mime-mapping>
831    <mime-mapping>
832        <extension>ogg</extension>
833        <mime-type>application/ogg</mime-type>
834    </mime-mapping>
835    <mime-mapping>
836        <!-- OpenDocument Drawing Template -->
837        <extension>otg </extension>
838        <mime-type>application/vnd.oasis.opendocument.graphics-template</mime-type>
839    </mime-mapping>
840    <mime-mapping>
841        <!-- HTML Document Template -->
842        <extension>oth</extension>
843        <mime-type>application/vnd.oasis.opendocument.text-web</mime-type>
844    </mime-mapping>
845    <mime-mapping>
846        <!-- OpenDocument Presentation Template -->
847        <extension>otp</extension>
848        <mime-type>application/vnd.oasis.opendocument.presentation-template</mime-type>
849    </mime-mapping>
850    <mime-mapping>
851        <!-- OpenDocument Spreadsheet Template -->
852        <extension>ots</extension>
853        <mime-type>application/vnd.oasis.opendocument.spreadsheet-template </mime-type>
854    </mime-mapping>
855    <mime-mapping>
856        <!-- OpenDocument Text Template -->
857        <extension>ott</extension>
858        <mime-type>application/vnd.oasis.opendocument.text-template</mime-type>
859    </mime-mapping>
860    <mime-mapping>
861        <extension>pbm</extension>
862        <mime-type>image/x-portable-bitmap</mime-type>
863    </mime-mapping>
864    <mime-mapping>
865        <extension>pct</extension>
866        <mime-type>image/pict</mime-type>
867    </mime-mapping>
868    <mime-mapping>
869        <extension>pdf</extension>
870        <mime-type>application/pdf</mime-type>
871    </mime-mapping>
872    <mime-mapping>
873        <extension>pgm</extension>
874        <mime-type>image/x-portable-graymap</mime-type>
875    </mime-mapping>
876    <mime-mapping>
877        <extension>pic</extension>
878        <mime-type>image/pict</mime-type>
879    </mime-mapping>
880    <mime-mapping>
881        <extension>pict</extension>
882        <mime-type>image/pict</mime-type>
883    </mime-mapping>
884    <mime-mapping>
885        <extension>pls</extension>
886        <mime-type>audio/x-scpls</mime-type>
887    </mime-mapping>
888    <mime-mapping>
889        <extension>png</extension>
890        <mime-type>image/png</mime-type>
891    </mime-mapping>
892    <mime-mapping>
893        <extension>pnm</extension>
894        <mime-type>image/x-portable-anymap</mime-type>
895    </mime-mapping>
896    <mime-mapping>
897        <extension>pnt</extension>
898        <mime-type>image/x-macpaint</mime-type>
899    </mime-mapping>
900    <mime-mapping>
901        <extension>ppm</extension>
902        <mime-type>image/x-portable-pixmap</mime-type>
903    </mime-mapping>
904    <mime-mapping>
905        <extension>ppt</extension>
906        <mime-type>application/powerpoint</mime-type>
907    </mime-mapping>
908    <mime-mapping>
909        <extension>ps</extension>
910        <mime-type>application/postscript</mime-type>
911    </mime-mapping>
912    <mime-mapping>
913        <extension>psd</extension>
914        <mime-type>image/x-photoshop</mime-type>
915    </mime-mapping>
916    <mime-mapping>
917        <extension>qt</extension>
918        <mime-type>video/quicktime</mime-type>
919    </mime-mapping>
920    <mime-mapping>
921        <extension>qti</extension>
922        <mime-type>image/x-quicktime</mime-type>
923    </mime-mapping>
924    <mime-mapping>
925        <extension>qtif</extension>
926        <mime-type>image/x-quicktime</mime-type>
927    </mime-mapping>
928    <mime-mapping>
929        <extension>ras</extension>
930        <mime-type>image/x-cmu-raster</mime-type>
931    </mime-mapping>
932    <mime-mapping>
933        <extension>rdf</extension>
934        <mime-type>application/rdf+xml</mime-type>
935    </mime-mapping>
936    <mime-mapping>
937        <extension>rgb</extension>
938        <mime-type>image/x-rgb</mime-type>
939    </mime-mapping>
940    <mime-mapping>
941        <extension>rm</extension>
942        <mime-type>application/vnd.rn-realmedia</mime-type>
943    </mime-mapping>
944    <mime-mapping>
945        <extension>roff</extension>
946        <mime-type>application/x-troff</mime-type>
947    </mime-mapping>
948    <mime-mapping>
949        <extension>rtf</extension>
950        <mime-type>application/rtf</mime-type>
951    </mime-mapping>
952    <mime-mapping>
953        <extension>rtx</extension>
954        <mime-type>text/richtext</mime-type>
955    </mime-mapping>
956    <mime-mapping>
957        <extension>sh</extension>
958        <mime-type>application/x-sh</mime-type>
959    </mime-mapping>
960    <mime-mapping>
961        <extension>shar</extension>
962        <mime-type>application/x-shar</mime-type>
963    </mime-mapping>
964<!--
965    <mime-mapping>
966        <extension>shtml</extension>
967        <mime-type>text/x-server-parsed-html</mime-type>
968    </mime-mapping>
969-->
970    <mime-mapping>
971        <extension>smf</extension>
972        <mime-type>audio/x-midi</mime-type>
973    </mime-mapping>
974    <mime-mapping>
975        <extension>sit</extension>
976        <mime-type>application/x-stuffit</mime-type>
977    </mime-mapping>
978    <mime-mapping>
979        <extension>snd</extension>
980        <mime-type>audio/basic</mime-type>
981    </mime-mapping>
982    <mime-mapping>
983        <extension>src</extension>
984        <mime-type>application/x-wais-source</mime-type>
985    </mime-mapping>
986    <mime-mapping>
987        <extension>sv4cpio</extension>
988        <mime-type>application/x-sv4cpio</mime-type>
989    </mime-mapping>
990    <mime-mapping>
991        <extension>sv4crc</extension>
992        <mime-type>application/x-sv4crc</mime-type>
993    </mime-mapping>
994    <mime-mapping>
995        <extension>swf</extension>
996        <mime-type>application/x-shockwave-flash</mime-type>
997    </mime-mapping>
998    <mime-mapping>
999        <extension>t</extension>
1000        <mime-type>application/x-troff</mime-type>
1001    </mime-mapping>
1002    <mime-mapping>
1003        <extension>tar</extension>
1004        <mime-type>application/x-tar</mime-type>
1005    </mime-mapping>
1006    <mime-mapping>
1007        <extension>tcl</extension>
1008        <mime-type>application/x-tcl</mime-type>
1009    </mime-mapping>
1010    <mime-mapping>
1011        <extension>tex</extension>
1012        <mime-type>application/x-tex</mime-type>
1013    </mime-mapping>
1014    <mime-mapping>
1015        <extension>texi</extension>
1016        <mime-type>application/x-texinfo</mime-type>
1017    </mime-mapping>
1018    <mime-mapping>
1019        <extension>texinfo</extension>
1020        <mime-type>application/x-texinfo</mime-type>
1021    </mime-mapping>
1022    <mime-mapping>
1023        <extension>tif</extension>
1024        <mime-type>image/tiff</mime-type>
1025    </mime-mapping>
1026    <mime-mapping>
1027        <extension>tiff</extension>
1028        <mime-type>image/tiff</mime-type>
1029    </mime-mapping>
1030    <mime-mapping>
1031        <extension>tr</extension>
1032        <mime-type>application/x-troff</mime-type>
1033    </mime-mapping>
1034    <mime-mapping>
1035        <extension>tsv</extension>
1036        <mime-type>text/tab-separated-values</mime-type>
1037    </mime-mapping>
1038    <mime-mapping>
1039        <extension>txt</extension>
1040        <mime-type>text/plain</mime-type>
1041    </mime-mapping>
1042    <mime-mapping>
1043        <extension>ulw</extension>
1044        <mime-type>audio/basic</mime-type>
1045    </mime-mapping>
1046    <mime-mapping>
1047        <extension>ustar</extension>
1048        <mime-type>application/x-ustar</mime-type>
1049    </mime-mapping>
1050    <mime-mapping>
1051        <extension>vxml</extension>
1052        <mime-type>application/voicexml+xml</mime-type>
1053    </mime-mapping>
1054    <mime-mapping>
1055        <extension>xbm</extension>
1056        <mime-type>image/x-xbitmap</mime-type>
1057    </mime-mapping>
1058    <mime-mapping>
1059        <extension>xht</extension>
1060        <mime-type>application/xhtml+xml</mime-type>
1061    </mime-mapping>
1062    <mime-mapping>
1063        <extension>xhtml</extension>
1064        <mime-type>application/xhtml+xml</mime-type>
1065    </mime-mapping>
1066    <mime-mapping>
1067        <extension>xml</extension>
1068        <mime-type>application/xml</mime-type>
1069    </mime-mapping>
1070    <mime-mapping>
1071        <extension>xpm</extension>
1072        <mime-type>image/x-xpixmap</mime-type>
1073    </mime-mapping>
1074    <mime-mapping>
1075        <extension>xsl</extension>
1076        <mime-type>application/xml</mime-type>
1077    </mime-mapping>
1078    <mime-mapping>
1079        <extension>xslt</extension>
1080        <mime-type>application/xslt+xml</mime-type>
1081    </mime-mapping>
1082    <mime-mapping>
1083        <extension>xul</extension>
1084        <mime-type>application/vnd.mozilla.xul+xml</mime-type>
1085    </mime-mapping>
1086    <mime-mapping>
1087        <extension>xwd</extension>
1088        <mime-type>image/x-xwindowdump</mime-type>
1089    </mime-mapping>
1090    <mime-mapping>
1091        <extension>wav</extension>
1092        <mime-type>audio/x-wav</mime-type>
1093    </mime-mapping>
1094    <mime-mapping>
1095        <extension>svg</extension>
1096        <mime-type>image/svg+xml</mime-type>
1097    </mime-mapping>
1098    <mime-mapping>
1099        <extension>svgz</extension>
1100        <mime-type>image/svg+xml</mime-type>
1101    </mime-mapping>
1102    <mime-mapping>
1103        <extension>vsd</extension>
1104        <mime-type>application/x-visio</mime-type>
1105    </mime-mapping>
1106    <mime-mapping>
1107        <!-- Wireless Bitmap -->
1108        <extension>wbmp</extension>
1109        <mime-type>image/vnd.wap.wbmp</mime-type>
1110    </mime-mapping>
1111    <mime-mapping>
1112        <!-- WML Source -->
1113        <extension>wml</extension>
1114        <mime-type>text/vnd.wap.wml</mime-type>
1115    </mime-mapping>
1116    <mime-mapping>
1117        <!-- Compiled WML -->
1118        <extension>wmlc</extension>
1119        <mime-type>application/vnd.wap.wmlc</mime-type>
1120    </mime-mapping>
1121    <mime-mapping>
1122        <!-- WML Script Source -->
1123        <extension>wmls</extension>
1124        <mime-type>text/vnd.wap.wmlscript</mime-type>
1125    </mime-mapping>
1126    <mime-mapping>
1127        <!-- Compiled WML Script -->
1128        <extension>wmlscriptc</extension>
1129        <mime-type>application/vnd.wap.wmlscriptc</mime-type>
1130    </mime-mapping>
1131    <mime-mapping>
1132        <extension>wmv</extension>
1133        <mime-type>video/x-ms-wmv</mime-type>
1134    </mime-mapping>
1135    <mime-mapping>
1136        <extension>wrl</extension>
1137        <mime-type>x-world/x-vrml</mime-type>
1138    </mime-mapping>
1139    <mime-mapping>
1140        <extension>wspolicy</extension>
1141        <mime-type>application/wspolicy+xml</mime-type>
1142    </mime-mapping>
1143    <mime-mapping>
1144        <extension>Z</extension>
1145        <mime-type>application/x-compress</mime-type>
1146    </mime-mapping>
1147    <mime-mapping>
1148        <extension>z</extension>
1149        <mime-type>application/x-compress</mime-type>
1150    </mime-mapping>
1151    <mime-mapping>
1152        <extension>zip</extension>
1153        <mime-type>application/zip</mime-type>
1154    </mime-mapping>
1155    <mime-mapping>
1156        <extension>xls</extension>
1157        <mime-type>application/vnd.ms-excel</mime-type>
1158    </mime-mapping>
1159    <mime-mapping>
1160        <extension>doc</extension>
1161        <mime-type>application/vnd.ms-word</mime-type>
1162    </mime-mapping>
1163    <mime-mapping>
1164        <extension>ppt</extension>
1165        <mime-type>application/vnd.ms-powerpoint</mime-type>
1166    </mime-mapping>
1167
1168  <!-- ==================== Default Welcome File List ===================== -->
1169  <!-- When a request URI refers to a directory, the default servlet looks  -->
1170  <!-- for a "welcome file" within that directory and, if present,          -->
1171  <!-- to the corresponding resource URI for display.  If no welcome file   -->
1172  <!-- is present, the default servlet either serves a directory listing,   -->
1173  <!-- or returns a 404 status, depending on how it is configured.          -->
1174  <!--                                                                      -->
1175  <!-- If you define welcome files in your own application's web.xml        -->
1176  <!-- deployment descriptor, that list *replaces* the list configured      -->
1177  <!-- here, so be sure that you include any of the default values that     -->
1178  <!-- you wish to include.                                                 -->
1179
1180    <welcome-file-list>
1181        <welcome-file>index.html</welcome-file>
1182        <welcome-file>index.htm</welcome-file>
1183        <welcome-file>index.jsp</welcome-file>
1184    </welcome-file-list>
1185
1186</web-app>
Note: See TracBrowser for help on using the repository browser.