tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: symbolic links in webapps
Date Wed, 01 Sep 2004 19:07:08 GMT

Hi,
The spirit of the Servlet Specification is to make webapps
self-contained entities that are also portable.  Symlinks are not
portable and defeat self-containment.

Your options: 
- Have two copies of the JSPs (should be no big deal, since you should
have one copy in source control and do a clean deploy of apps as needed
when the source changes)
- Set allowLinking="true" for the folder and symlink the JSPs themselves
(but not the webapps' folder).

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Philippe Mathieu [mailto:philippe.mathieu@lifl.fr]
>Sent: Wednesday, September 01, 2004 2:58 PM
>To: Tomcat User List
>Subject: symbolic links in webapps
>
>Hi,
>
>Because i want to share several JSP pages between two webapps, i am
using
>symbolic links in one of them, pointing to the other.
>
>Unfortunately it seems that it doesn't work :-(
>
>I use Tomcat 5 under linux Debian
>
>Does anyone have a solution and/or an explanation ?
>
>Thanks
>
>--
>Phil
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message