Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49063 invoked from network); 18 Jul 2006 09:45:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jul 2006 09:45:13 -0000 Received: (qmail 71021 invoked by uid 500); 18 Jul 2006 09:45:01 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 70591 invoked by uid 500); 18 Jul 2006 09:45:00 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 70580 invoked by uid 99); 18 Jul 2006 09:45:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 02:45:00 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [83.217.93.210] (HELO onesparrow.com) (83.217.93.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Jul 2006 02:44:59 -0700 Received: from saturnus.onesparrow.net ([192.168.0.24]) by onesparrow.com (8.13.1/8.13.1) with ESMTP id k6I9iXl3003886 for ; Tue, 18 Jul 2006 11:44:34 +0200 From: dirk ooms To: "Tomcat Users List" Subject: Re: symbolic links usage Date: Tue, 18 Jul 2006 11:44:25 +0200 User-Agent: KMail/1.8.3 References: <3707.10.1.1.9.1153180671.squirrel@katoomba.musetech.com.au> In-Reply-To: <3707.10.1.1.9.1153180671.squirrel@katoomba.musetech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607181144.25607.dirk@onesparrow.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N make allowLinking="true" an attribute of Context itself On Tuesday 18 July 2006 01:57, Phill O'Flynn wrote: > I have a web app that needs to access > directories outside of the context using symlinks. However these files are > not visible to the servlet. I have looked at all the FAQ's and made the > recommended changes but it still doen't work. I am using Tomcat 5.0.XX > > i have a > context.xml file setup in the webapps META-INF directory as recommended for > tomcat 5 on the web site. This is my context.xml > > encoding="UTF-8"?> > docBase="drawings" debug="0" /> > className="org.apache.naming.resources.FileDirContext" > allowLinking="true" /> > > > this is the > error I get > > org.apache.jasper.JasperException: /dwgList.jsp(12,0) File > "/downloads/info.jsp" not found > > ("downloads" is a > symbolic link and is a sub directory of the project directory) > > and this > is the calling code > > <%@include file='/downloads/info.jsp'%> > > > Regards > Phill O'Flynn > > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org