Thanks Konstantin for your answer
   
   I am using tomcat 5.5 

   I understand your answer and tried it. Another sub - question :

   I would like the users to be able to access the "media" context with the
url : "http:domain/images/media/".
    This means I would need to somehow tell tomcat to direct all
"/images/media" request to the "media" context. Is this possible ? 

    Thank you again

Elad

   

Konstantin Kolinko wrote:
> 
>>         I have a folder in my application which I would like to deploy in
>> a
>> separate sub context. This is because it includes content media, and is
>> very
>> large to include in the "main" application "war" every time I deploy it.
> 
> You have not mentioned your Tomcat version.
> 
> That media is just a separate web application. If the main one is
> named "ROOT.war", this one is "media.war".
> 
> If you do not have a war, you can deploy an application by using a context
> file.
> 
> See
> http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html#A%20word%20on%20Contexts
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
> 
>>  I am new to this list, but couldnt find anything about this topic:
> 
> Context files are discussed very often at this list. You might be able
> to find something.
> 
> Have a nice day!
> Konstantin.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Deploying-to-a-sub-context-tf4948304.html#a14188969
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to