Author: rjung
Date: Thu Apr 22 13:27:38 2010
New Revision: 936837
URL: http://svn.apache.org/viewvc?rev=936837&view=rev
Log:
Add docs about VirtualWebappLoader.
Modified:
tomcat/trunk/webapps/docs/config/loader.xml
Modified: tomcat/trunk/webapps/docs/config/loader.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/loader.xml?rev=936837&r1=936836&r2=936837&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/loader.xml (original)
+++ tomcat/trunk/webapps/docs/config/loader.xml Thu Apr 22 13:27:38 2010
@@ -140,6 +140,36 @@
</subsection>
+ <subsection name="VirtualWebappLoader Implementation">
+
+ <p>This implementation of <strong>Loader</strong> is
+ <strong>org.apache.catalina.loader.VirtualWebappLoader</strong>.
+ It extends <code>WebappLoader</code> and supports the following
+ additional attributes</p>
+
+ <attributes>
+
+ <attribute name="virtualClasspath" required="false">
+ <p>Additional repositories to search for resources.
+ Multiple elements can be joined using <code>;</code>
+ as a separator.</p>
+ <p>Example:
<code>virtualClasspath="${catalina_base}/myapp_config"</code></p>
+ </attribute>
+
+ <attribute name="searchVirtualFirst" required="false">
+ <p>Set to <code>true</code> if you want the virtual
+ class path to be searched before
+ <code>WEB-INF/classes</code> and <code>WEB-INF/lib</code>.
+ Default value is <code>false</code>.</p>
+ <p>If searched before, resources located in the virtual
+ class path take precendence over resources with the same
+ name contained in the webapp.</p>
+ </attribute>
+
+ </attributes>
+
+ </subsection>
+
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]