Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can create an individual context.xml for you app.</p> <p>This is an excerpt from Tomcat doc on context configuraion: Context elements may be explicitly defined:</p> <ul> <li>In the <code>$CATALINA_HOME/conf/context.xml</code> file: the Context element information will be loaded by all webapps. In the <code>$CATALINA_HOME/conf/[enginename]/[hostname]/context.xml.default</code> file: the Context element information will be loaded by all webapps of that host.</li> <li>In individual files (with a <code>.xml</code> extension) in the <code>$CATALINA_HOME/conf/[enginename]/[hostname]/</code> directory. The name of the file (less the <code>.xml</code>) extension will be used as the context path. Multi-level context paths may be defined using <code>#</code>, e.g. <code>foo#bar.xml</code> for a context path of <code>/foo/bar</code>. The default web application may be defined by using a file called <code>ROOT.xml</code>.</li> <li>Only if a context file does not exist for the application in the <code>$CATALINA_HOME/conf/[enginename]/[hostname]/</code>; in an individual file at <code>/META-INF/context.xml</code> inside the application files. If the web application is packaged as a WAR then <code>/META-INF/context.xml</code> will be copied to <code>$CATALINA_HOME/conf/[enginename]/[hostname]/</code> and renamed to match the application's context path. Once this file exists, it will not be replaced if a new WAR with a newer <code>/META-INF/context.xml</code> is placed in the host's appBase.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload