337
337
be overridden by the <strong>emptySessionPath</strong> attribute on the
338
338
connector used to access this Context.</p>
341
<attribute name="tldValidation" required="false">
342
<p>If the value of this flag is <code>true</code>, the TLD files
343
will be XML validated on context startup. If the
344
<code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>
345
<a href="systemprops.html">system property</a> is set to
346
<code>true</code>, the default value of this attribute will be
347
<code>true</code>, else the default value will be <code>false</code>.
348
Setting this attribute to <code>true</code> will incur a performance
352
<attribute name="useHttpOnly" required="false">
353
<p>Should the HttpOnly flag be set on session cookies to prevent client
354
side script from accessing the session ID? Defaults to
355
<code>false</code>.</p>
341
358
<attribute name="wrapperClass" required="false">
342
359
<p>Java class name of the <code>org.apache.catalina.Wrapper</code>
344
361
Context. If not specified, a standard default value will be used.</p>
347
<attribute name="useHttpOnly" required="false">
348
<p>Should the HttpOnly flag be set on session cookies to prevent client
349
side script from accessing the session ID? Defaults to
350
<code>false</code>.</p>
364
<attribute name="xmlBlockExternal" required="false">
365
<p>If the value of this flag is <code>true</code>, the parsing of
366
<code>web.xml</code>, <code>web-fragment.xml</code>, <code>*.tld</code>,
367
<code>*.jspx</code>, <code>*.tagx</code> and <code>tagPlugins.xml</code>
368
files for this web application will not permit external entities to be
369
loaded. If a <code>SecurityManager</code> is configured then the default
370
value of this attribute will be <code>true</code>, else the default
371
value will be <code>false</code>.</p>
374
<attribute name="xmlNamespaceAware" required="false">
375
<p>If the value of this flag is <code>true</code>, the parsing of the
376
<code>web.xml</code> file for this web application will be
377
namespace-aware. Note that <code>*.tld</code>, <code>*.jspx</code> and
378
<code>*.tagx</code> files are always parsed using a namespace-aware
379
parser and that the <code>tagPlugins.xml</code> file (if any) is never
380
parsed using a namespace-aware parser. Note also that if you turn this
381
flag on, you should probably also turn <code>xmlValidation</code> on. If
382
the <code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>
383
<a href="systemprops.html">system property</a> is set to
384
<code>true</code>, the default value of this attribute will be
385
<code>true</code>, else the default value will be <code>false</code>.
386
Setting this attribute to <code>true</code> will incur a performance
390
<attribute name="xmlValidation" required="false">
391
<p>If the value of this flag is <code>true</code>, the parsing of the
392
<code>web.xml</code> file for this web application will use a validating
394
<code>org.apache.catalina.STRICT_SERVLET_COMPLIANCE</code>
395
<a href="systemprops.html">system property</a> is set to
396
<code>true</code>, the default value of this attribute will be
397
<code>true</code>, else the default value will be <code>false</code>.
398
Setting this attribute to <code>true</code> will incur a performance
504
553
of the flag is <code>false</code>.</p>
507
<attribute name="tldNamespaceAware" required="false">
508
<p>If the value of this flag is <code>true</code>, the TLD files
509
XML validation will be namespace-aware. If you turn this flag on,
510
you should probably also turn <code>tldValidation</code> on. The
511
default value for this flag is <code>false</code>, and setting it
512
to true will incur a performance penalty.
516
<attribute name="tldValidation" required="false">
517
<p>If the value of this flag is <code>true</code>, the TLD files
518
will be XML validated on context startup. The default value for
519
this flag is <code>false</code>, and setting it to true will incur
520
a performance penalty.</p>
523
556
<attribute name="unloadDelay" required="false">
524
557
<p>Number of ms that the container will wait for servlets to unload.
525
558
If not specified, the default value is <code>2000</code> ms.</p>