Hello,
Pham Tran Quoc Viet wrote:
Create x outside of webapps and create a soft link within webapps that
points to x.
Then, within server.xml add the following lines:
Context docBase=absolute path to x soft link path=link name
allowLinking=true/
That's it. Everytime the soft link is hit,
Read this thread lately. May be antiResourceLocking is what you are
lokking for. It is an attribute of Context element.
On 9/28/05, Thomas Corte [EMAIL PROTECTED] wrote:
Hello,
Pham Tran Quoc Viet wrote:
Create x outside of webapps and create a soft link within webapps that
points to x.
Hello,
Anto Paul wrote:
Read this thread lately. May be antiResourceLocking is what you are
lokking for.
I'm afraid not, since it is only useful to prevent files from being
locked (to make sure they can be deleted on undeploy).
Actually, I'm somewhat looking for the exact opposite, namely a
:
Date : Wed, 28 Sep 2005 14:56:55 +0200
Subject : Re: saving files in webapp folder from deletion?
Hello,
Anto Paul wrote:
Read this thread lately. May be antiResourceLocking is what you are
lokking for.
I'm afraid not, since it is only useful to prevent files from being
I think in the time you invested in this thread you could easily have
written a servlet which delivers the data from anywhere, so you don't
need to save it in the context.
:-)
regards
Leon
-
To unsubscribe, e-mail: [EMAIL
Hi,
Leon Rosenberg wrote:
I think in the time you invested in this thread you could easily have
written a servlet which delivers the data from anywhere, so you don't
need to save it in the context.
You are absolutely right, however I don't like to reinvent the wheel and
therefore tend to
On 9/28/05, Thomas Corte [EMAIL PROTECTED] wrote:
Hi,
Leon Rosenberg wrote:
I think in the time you invested in this thread you could easily have
written a servlet which delivers the data from anywhere, so you don't
need to save it in the context.
You are absolutely right, however I
setup X as context/webapp (incl. an empty WEB-INF) and probably a
web.xml. this should be sufficent, unless you have something else
badly broken :-)
lg
leon
On 9/27/05, Thomas Corte [EMAIL PROTECTED] wrote:
Hi there,
I have a setup in which certain trusted users of a web application X may
Hi,
Leon Rosenberg wrote:
setup X as context/webapp (incl. an empty WEB-INF) and probably a
web.xml. this should be sufficent, unless you have something else
badly broken :-)
So you mean I should create a second web app/context Y and put the
uploaded files there?
If this is the suggestion,
Create x outside of webapps and create a soft link within webapps that
points to x.
Then, within server.xml add the following lines:
Context docBase=absolute path to x soft link path=link name
allowLinking=true/
That's it. Everytime the soft link is hit, tomcat will follow the
symbolic link get
10 matches
Mail list logo