You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Davide Frigerio <da...@wise-lab.it> on 2005/08/25 08:59:13 UTC
sharing directory between web application
Hi,
I would you like to know if it is possibile in Tomcat to share the
same directory between two different web application?
Thanks,
--
------------------------------------------------------
Davide Ing. Frigerio
Wise-Lab S.r.l.
c/o Polo Regionale di Como - Politecnico di Milano
P.le Gerbetto, 6 - 22100 Como (Italy)
Tel: +39 031 332 7362 - Fax: +39 031 332 7321
Email: davide.frigerio/at/wise-lab.it
Web: http://www.wise-lab.it - http://www.wisemodel.com
------------------------------------------------------
Leggi l'informativa in base all'art.13 del D.lgs. 30 giugno 2003, 196 sul trattamento
dei dati personali da parte di Wise-Lab: http://www.wise-lab.it/info_privacy.htm
*****
Scarica il nuovo web browser FireFox, l'alternativa SICURA ad Internet Explorer: Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=28607&t=1>
*****
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: sharing directory between web application
Posted by Davide Frigerio <da...@wise-lab.it>.
Thanks a lot, but probaly this doesn't solve my problem.
This is my situation, e.g. I have two images
http://localhost:8080/application1/img/example.jpg
http://localhost:8080/application2/img/example.jpg
The image example.jpg is the same, as other resources in /img/ directory.
There's a way in Tomcat to point /img/ subdir to the same physical
directory?
Thanks,
Davide Frigerio.
Mark Thomas wrote:
> Davide Frigerio wrote:
>
>> Hi,
>> I would you like to know if it is possibile in Tomcat to share the
>> same directory between two different web application?
>>
>> Thanks,
>>
> Yes, if your OS supports symlinks. See the allowLinking property in
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
------------------------------------------------------
Davide Ing. Frigerio
Wise-Lab S.r.l.
c/o Polo Regionale di Como - Politecnico di Milano
P.le Gerbetto, 6 - 22100 Como (Italy)
Tel: +39 031 332 7362 - Fax: +39 031 332 7321
Email: davide.frigerio/at/wise-lab.it
Web: http://www.wise-lab.it - http://www.wisemodel.com
------------------------------------------------------
Leggi l'informativa in base all'art.13 del D.lgs. 30 giugno 2003, 196 sul trattamento
dei dati personali da parte di Wise-Lab: http://www.wise-lab.it/info_privacy.htm
*****
Scarica il nuovo web browser FireFox, l'alternativa SICURA ad Internet Explorer: Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=28607&t=1>
*****
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: sharing directory between web application
Posted by Mark Thomas <ma...@apache.org>.
Davide Frigerio wrote:
> Hi,
> I would you like to know if it is possibile in Tomcat to share the
> same directory between two different web application?
>
> Thanks,
>
Yes, if your OS supports symlinks. See the allowLinking property in
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org