~ubuntu-branches/ubuntu/vivid/tomcat6/vivid-proposed

« back to all changes in this revision

Viewing changes to webapps/docs/config/context.xml

  • Committer: Package Import Robot
  • Author(s): Emmanuel Bourg
  • Date: 2014-02-17 00:02:00 UTC
  • mfrom: (1.2.10)
  • Revision ID: package-import@ubuntu.com-20140217000200-qs6ki7bhqnfhkas7
Tags: 6.0.39-1
* Team upload.
* New upstream release.
  - Refreshed the patches
* Standards-Version updated to 3.9.5 (no changes)
* Switch to debhelper level 9
* Use XZ compression for the upstream tarball
* Use canonical URL for the Vcs-Git field

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
        be overridden by the <strong>emptySessionPath</strong> attribute on the
338
338
        connector used to access this Context.</p>
339
339
      </attribute>
 
340
      
 
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
 
349
        penalty.</p>
 
350
      </attribute>
 
351
 
 
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>
 
356
      </attribute>
340
357
 
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>
345
362
      </attribute>
346
363
      
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>
351
 
      </attribute>
352
 
      
 
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>
 
372
      </attribute>
 
373
 
 
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
 
387
        penalty.</p>
 
388
      </attribute>
 
389
 
 
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
 
393
        parser. If the
 
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
 
399
        penalty.</p>
 
400
      </attribute>
 
401
 
353
402
 
354
403
    </attributes>
355
404
 
504
553
        of the flag is <code>false</code>.</p>
505
554
      </attribute>
506
555
 
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.
513
 
        </p>
514
 
      </attribute>
515
 
 
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>
521
 
      </attribute>
522
 
 
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>