is this not something you configure within the servlet mapping?

-----Original Message-----
From: Phill O'Flynn [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 6:58 PM
To: users@tomcat.apache.org
Subject: symbolic links usage





  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 

<?xml version="1.0"
encoding="UTF-8"?>
<Context path="/drawings"
docBase="drawings" debug="0" />
<Resources
className="org.apache.naming.resources.FileDirContext"
allowLinking="true" />
 </Context>

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

<[EMAIL PROTECTED] file='/downloads/info.jsp'%>


Regards
Phill O'Flynn





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


---------------------------------------------------------------------
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