tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dirk ooms <d...@onesparrow.com>
Subject Re: symbolic links usage
Date Tue, 18 Jul 2006 09:44:25 GMT
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
>
> <?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
>
> <%@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


Mime
View raw message