Manage this page

0. Feedback

1. Display

domain1 uses context1
domain2 uses context2
domain1 and domain2 uses common_context

http://www.onjava.com/lpt/a/3909

It uses the host tag in connections with contexts. I am not too clear on this yet.

What is this used for?

Is this possible?

mailing list

Elaborate on sharing contexts. Elaborate default host, crosscontext, appbase and comment on any other parameters related to

1. host
2. context
3. Engine
host
context
Engine
appbase
context sharing

http://tomcat.apache.org/tomcat-5.5-doc/index.html

Can one use this for reusing contexts across virtual hosts? What is its intended use? How compatible is it with other web containers?

Will apache be the solution to this? How does the virtual hosting differ there?


     <Host name="www.knowledgefolders.com" 
             appBase="D:/webpage_demos/akc"
              unpackWARs="true" 
              autoDeploy="true" 
              xmlValidation="false" 
              xmlNamespaceAware="false">
			  
               <Alias>knowledgefolders.com</Alias>
               <Alias>www.knowledgefolders.net</Alias>
               <Alias>knowledgefolders.net</Alias>
               <Alias>www.knowledgefolders.org</Alias>
               <Alias>knowledgefolders.org</Alias>
			   
               <Context path="" docBase="D:/webpage_demos/akc" 
                   debug="0" reloadable="false"/>
               <Context path="/akc" docBase="D:/webpage_demos/akc" 
                  debug="0" reloadable="false"/>
     </Host>

virtual hosting reference