Lines 21-27
Link Here
|
21 |
<!-- The default servlet for all web applications, that serves static --> |
21 |
<!-- The default servlet for all web applications, that serves static --> |
22 |
<!-- resources. It processes all requests that are not mapped to other --> |
22 |
<!-- resources. It processes all requests that are not mapped to other --> |
23 |
<!-- servlets with servlet mappings (defined either here or in your own --> |
23 |
<!-- servlets with servlet mappings (defined either here or in your own --> |
24 |
<!-- web.xml file. This servlet supports the following initialization --> |
24 |
<!-- web.xml file). This servlet supports the following initialization --> |
25 |
<!-- parameters (default values are in square brackets): --> |
25 |
<!-- parameters (default values are in square brackets): --> |
26 |
<!-- --> |
26 |
<!-- --> |
27 |
<!-- debug Debugging detail level for messages logged --> |
27 |
<!-- debug Debugging detail level for messages logged --> |
Lines 40-59
Link Here
|
40 |
<!-- commands like PUT and DELETE are --> |
40 |
<!-- commands like PUT and DELETE are --> |
41 |
<!-- rejected? [true] --> |
41 |
<!-- rejected? [true] --> |
42 |
<!-- --> |
42 |
<!-- --> |
43 |
<!-- readmeFile File name to display with the directory --> |
43 |
<!-- readmeFile File to display together with the directory --> |
44 |
<!-- contents. [null] --> |
44 |
<!-- contents. [null] --> |
45 |
<!-- --> |
45 |
<!-- --> |
46 |
<!-- For directory listing customization. Checks localXsltFile, then --> |
46 |
<!-- For directory listing customization. Checks 'localXsltFile', then --> |
47 |
<!-- globalXsltFile, then defaults to original behavior. --> |
47 |
<!-- 'globalXsltFile', then defaults to original behavior. --> |
48 |
<!-- --> |
48 |
<!-- --> |
49 |
<!-- localXsltFile Make directory listings an XML doc and --> |
49 |
<!-- localXsltFile Make directory listings an XML doc and --> |
50 |
<!-- pass the result to this style sheet residing --> |
50 |
<!-- pass the result to this style sheet residing --> |
51 |
<!-- in that directory. This overrides --> |
51 |
<!-- in that directory. This overrides --> |
52 |
<!-- globalXsltFile[null] --> |
52 |
<!-- 'globalXsltFile'. [null] --> |
53 |
<!-- --> |
53 |
<!-- --> |
54 |
<!-- globalXsltFile Site wide configuration version of --> |
54 |
<!-- globalXsltFile Site wide configuration version of --> |
55 |
<!-- localXsltFile This argument is expected --> |
55 |
<!-- 'localXsltFile'. This argument is expected --> |
56 |
<!-- to be a physical file. [null] --> |
56 |
<!-- to be a physical file. [null] --> |
57 |
<!-- --> |
57 |
<!-- --> |
58 |
<!-- --> |
58 |
<!-- --> |
59 |
|
59 |
|
Lines 104-121
Link Here
|
104 |
|
104 |
|
105 |
<!-- The JSP page compiler and execution servlet, which is the mechanism --> |
105 |
<!-- The JSP page compiler and execution servlet, which is the mechanism --> |
106 |
<!-- used by Tomcat to support JSP pages. Traditionally, this servlet --> |
106 |
<!-- used by Tomcat to support JSP pages. Traditionally, this servlet --> |
107 |
<!-- is mapped to URL patterh "*.jsp". This servlet supports the --> |
107 |
<!-- is mapped to URL pattern "*.jsp". This servlet supports the --> |
108 |
<!-- following initialization parameters (default values are in square --> |
108 |
<!-- following initialization parameters (default values are in square --> |
109 |
<!-- brackets): --> |
109 |
<!-- brackets): --> |
110 |
<!-- --> |
110 |
<!-- --> |
111 |
<!-- checkInterval If development is false and reloading is true, --> |
111 |
<!-- checkInterval If 'development' is "false" and 'reloading' is --> |
112 |
<!-- background compiles are enabled. checkInterval --> |
112 |
<!-- "true", background compiles are enabled. --> |
113 |
<!-- is the time in seconds between checks to see --> |
113 |
<!-- 'checkInterval' is the time in seconds between --> |
114 |
<!-- if a JSP page needs to be recompiled. [300] --> |
114 |
<!-- checks to see if a JSP page needs to be --> |
|
|
115 |
<!-- recompiled. [300] --> |
115 |
<!-- --> |
116 |
<!-- --> |
116 |
<!-- compiler Which compiler Ant should use to compile JSP --> |
117 |
<!-- compiler Which compiler Ant should use to compile JSP --> |
117 |
<!-- pages. See the Ant documentation for more --> |
118 |
<!-- pages. See the Ant documentation for more --> |
118 |
<!-- information. [javac] --> |
119 |
<!-- information. [javac] --> |
119 |
<!-- --> |
120 |
<!-- --> |
120 |
<!-- classdebuginfo Should the class file be compiled with --> |
121 |
<!-- classdebuginfo Should the class file be compiled with --> |
121 |
<!-- debugging information? [true] --> |
122 |
<!-- debugging information? [true] --> |
Lines 128-148
Link Here
|
128 |
<!-- for JSP modification on every access)? [true] --> |
129 |
<!-- for JSP modification on every access)? [true] --> |
129 |
<!-- --> |
130 |
<!-- --> |
130 |
<!-- enablePooling Determines whether tag handler pooling is --> |
131 |
<!-- enablePooling Determines whether tag handler pooling is --> |
131 |
<!-- enabled [true] --> |
132 |
<!-- enabled. [true] --> |
132 |
<!-- --> |
133 |
<!-- --> |
133 |
<!-- fork Tell Ant to fork compiles of JSP pages so that --> |
134 |
<!-- fork Tell Ant to fork compiles of JSP pages so that --> |
134 |
<!-- a separate JVM is used for JSP page compiles --> |
135 |
<!-- a separate JVM is used for JSP page compiles --> |
135 |
<!-- from the one Tomcat is running in. [true] --> |
136 |
<!-- from the one Tomcat is running in. [true] --> |
136 |
<!-- --> |
137 |
<!-- --> |
137 |
<!-- ieClassId The class-id value to be sent to Internet --> |
138 |
<!-- ieClassId The class-id value to be sent to Internet --> |
138 |
<!-- Explorer when using <jsp:plugin> tags. --> |
139 |
<!-- Explorer when using <jsp:plugin> tags. --> |
139 |
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] --> |
140 |
<!-- [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93] --> |
140 |
<!-- --> |
141 |
<!-- --> |
141 |
<!-- javaEncoding Java file encoding to use for generating java --> |
142 |
<!-- javaEncoding Java file encoding to use for generating java --> |
142 |
<!-- source files. [UTF8] --> |
143 |
<!-- source files. [UTF8] --> |
143 |
<!-- --> |
144 |
<!-- --> |
144 |
<!-- keepgenerated Should we keep the generated Java source code --> |
145 |
<!-- keepgenerated Should we keep the generated Java source code --> |
145 |
<!-- for each page instead of deleting it? [true] --> |
146 |
<!-- for each page instead of deleting it? [true] --> |
146 |
<!-- --> |
147 |
<!-- --> |
147 |
<!-- mappedfile Should we generate static content with one --> |
148 |
<!-- mappedfile Should we generate static content with one --> |
148 |
<!-- print statement per input line, to ease --> |
149 |
<!-- print statement per input line, to ease --> |
Lines 154-176
Link Here
|
154 |
<!-- debugging be suppressed? [false] --> |
155 |
<!-- debugging be suppressed? [false] --> |
155 |
<!-- --> |
156 |
<!-- --> |
156 |
<!-- dumpSmap Should the SMAP info for JSR45 debugging be --> |
157 |
<!-- dumpSmap Should the SMAP info for JSR45 debugging be --> |
157 |
<!-- dumped to a file? [false] --> |
158 |
<!-- dumped to a file? [false] --> |
158 |
<!-- False if suppressSmap is true --> |
159 |
<!-- "false" if 'suppressSmap' is "true". --> |
159 |
<!-- --> |
160 |
<!-- --> |
160 |
<!-- scratchdir What scratch directory should we use when --> |
161 |
<!-- scratchdir What scratch directory should we use when --> |
161 |
<!-- compiling JSP pages? [default work directory --> |
162 |
<!-- compiling JSP pages? [default work directory --> |
162 |
<!-- for the current web application] --> |
163 |
<!-- for the current web application] --> |
163 |
<!-- --> |
164 |
<!-- --> |
164 |
<!-- tagpoolMaxSize The maximum tag handler pool size [5] --> |
165 |
<!-- tagpoolMaxSize The maximum tag handler pool size. [5] --> |
165 |
<!-- --> |
166 |
<!-- --> |
166 |
<!-- xpoweredBy Determines whether X-Powered-By response --> |
167 |
<!-- xpoweredBy Determines whether the "X-Powered-By" response --> |
167 |
<!-- header is added by generated servlet [false] --> |
168 |
<!-- header is added by generated servlet. [false] --> |
168 |
<!-- --> |
169 |
<!-- --> |
169 |
<!-- If you wish to use Jikes to compile JSP pages: --> |
170 |
<!-- If you wish to use Jikes to compile JSP pages: --> |
170 |
<!-- Set the init parameter "compiler" to "jikes". Define --> |
171 |
<!-- Set the init parameter 'compiler' to "jikes". Define --> |
171 |
<!-- the property "-Dbuild.compiler.emacs=true" when starting Tomcat --> |
172 |
<!-- the property "-Dbuild.compiler.emacs=true" when starting Tomcat --> |
172 |
<!-- by adding the above to your CATALINA_OPTS environment variable. --> |
173 |
<!-- by adding the above to your CATALINA_OPTS environment variable. --> |
173 |
<!-- If you get an error reporting that jikes can't use UTF8 encoding, --> |
174 |
<!-- If you get an error reporting that Jikes can't use UTF8 encoding, --> |
174 |
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". --> |
175 |
<!-- try setting the init parameter "javaEncoding" to "ISO-8859-1". --> |
175 |
|
176 |
|
176 |
<servlet> |
177 |
<servlet> |
Lines 206-212
Link Here
|
206 |
<!-- isVirtualWebappRelative --> |
207 |
<!-- isVirtualWebappRelative --> |
207 |
<!-- Should "virtual" paths be interpreted as --> |
208 |
<!-- Should "virtual" paths be interpreted as --> |
208 |
<!-- relative to the context root, instead of --> |
209 |
<!-- relative to the context root, instead of --> |
209 |
<!-- the server root? (0=false, 1=true) [0] --> |
210 |
<!-- the server root? (0=false, 1=true) [0] --> |
210 |
<!-- --> |
211 |
<!-- --> |
211 |
<!-- --> |
212 |
<!-- --> |
212 |
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the --> |
213 |
<!-- IMPORTANT: To use the SSI servlet, you also need to rename the --> |
Lines 288-296
Link Here
|
288 |
|
289 |
|
289 |
|
290 |
|
290 |
<!-- The servlet mappings for the built in servlets defined above. Note --> |
291 |
<!-- The servlet mappings for the built in servlets defined above. Note --> |
291 |
<!-- that, by default, the CGI and SSI servlets are *not* mapped. You --> |
292 |
<!-- that by default the invoker, SSI and CGI servlets are *not* mapped. --> |
292 |
<!-- must uncomment these mappings (or add them to your application's own --> |
293 |
<!-- You must uncomment these mappings (or add them to your application's --> |
293 |
<!-- web.xml deployment descriptor) to enable these services --> |
294 |
<!-- own web.xml deployment descriptor) to enable these services. --> |
294 |
|
295 |
|
295 |
<!-- The mapping for the default servlet --> |
296 |
<!-- The mapping for the default servlet --> |
296 |
<servlet-mapping> |
297 |
<servlet-mapping> |
Lines 306-312
Link Here
|
306 |
</servlet-mapping> |
307 |
</servlet-mapping> |
307 |
--> |
308 |
--> |
308 |
|
309 |
|
309 |
<!-- The mapping for the JSP servlet --> |
310 |
<!-- The mappings for the JSP servlet --> |
310 |
<servlet-mapping> |
311 |
<servlet-mapping> |
311 |
<servlet-name>jsp</servlet-name> |
312 |
<servlet-name>jsp</servlet-name> |
312 |
<url-pattern>*.jsp</url-pattern> |
313 |
<url-pattern>*.jsp</url-pattern> |
Lines 326-332
Link Here
|
326 |
--> |
327 |
--> |
327 |
|
328 |
|
328 |
<!-- The mapping for the CGI Gateway servlet --> |
329 |
<!-- The mapping for the CGI Gateway servlet --> |
329 |
|
|
|
330 |
<!-- |
330 |
<!-- |
331 |
<servlet-mapping> |
331 |
<servlet-mapping> |
332 |
<servlet-name>cgi</servlet-name> |
332 |
<servlet-name>cgi</servlet-name> |
Lines 896-910
Link Here
|
896 |
|
896 |
|
897 |
<!-- ==================== Default Welcome File List ===================== --> |
897 |
<!-- ==================== Default Welcome File List ===================== --> |
898 |
<!-- When a request URI refers to a directory, the default servlet looks --> |
898 |
<!-- When a request URI refers to a directory, the default servlet looks --> |
899 |
<!-- for a "welcome file" within that directory and, if present, --> |
899 |
<!-- for a "welcome file" within that directory and, if present, to the --> |
900 |
<!-- to the corresponding resource URI for display. If no welcome file --> |
900 |
<!-- corresponding resource URI for display. --> |
901 |
<!-- is present, the default servlet either serves a directory listing, --> |
901 |
<!-- If none of the welcome files is present, the default servlet either --> |
902 |
<!-- or returns a 404 status, depending on how it is configured. --> |
902 |
<!-- serves a directory listing (see default servlet configuration on how --> |
|
|
903 |
<!-- to customize) or returns a HTTP 404 status, depending on the value --> |
904 |
<!-- of the 'listings' setting. --> |
903 |
<!-- --> |
905 |
<!-- --> |
904 |
<!-- If you define welcome files in your own application's web.xml --> |
906 |
<!-- If you define welcome files in your own application's web.xml --> |
905 |
<!-- deployment descriptor, that list *replaces* the list configured --> |
907 |
<!-- deployment descriptor, that list *replaces* the list configured --> |
906 |
<!-- here, so be sure that you include any of the default values that --> |
908 |
<!-- here, so be sure to include any of the default values that you wish --> |
907 |
<!-- you wish to include. --> |
909 |
<!-- to use within your application. --> |
908 |
|
910 |
|
909 |
<welcome-file-list> |
911 |
<welcome-file-list> |
910 |
<welcome-file>index.html</welcome-file> |
912 |
<welcome-file>index.html</welcome-file> |