oops! My email client did something funny with the xml setting. This is what it
should be

<DefaultContext allowLinking="true"/>
Regards
Phill O'Flynn



--------------------------------- Original Message
---------------------------------
Subject: [Fwd: Re: symbolic links usage]
From:    "Phill O'Flynn" <[EMAIL PROTECTED]>
Date:   
Tue, July 18, 2006 10:43 pm
To:      users@tomcat.apache.org
------------------------------------------------------------------------------------



Although this didn't work for me I found an article that said to
add the default
context setting

allowLinking
to the server.xml
which worked.... for [EMAIL PROTECTED]  

So effectively a soulution has been found.
but  i would appreciate if
anyone knows why this would work and and changes to
the webapps local context.xml. I
must have written it incorrectly. I don't
know
Regards
Phill O'Flynn



--------------------------------- Original Message
---------------------------------
Subject: Re: symbolic links usage
From: 
  "dirk ooms" <[EMAIL PROTECTED]>
Date:    Tue,
July 18, 2006
7:44 pm
To:      "Tomcat Users List"
<users@tomcat.apache.org>
------------------------------------------------------------------------------------

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


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