2009/6/11 Mark Thomas ma...@apache.org:
Lyallex wrote:
2009/6/11 Caldarale, Charles R chuck.caldar...@unisys.com:
Writing to the webapp's deployment location is a bad idea - you again have
no guarantee that it's allowed, and you're at the whims of the container
and execution environment
Lyallex wrote:
The logging output gives the following
INFO: The path to the image cache is
C:\servers\tomcat\apache-tomcat-6.0.16\temp\1-ROOT\imagecache
This is a side effect of using the anti-locking attributes on your context.
Mark
2009/6/11 Mark Thomas ma...@apache.org:
Lyallex wrote:
The logging output gives the following
INFO: The path to the image cache is
C:\servers\tomcat\apache-tomcat-6.0.16\temp\1-ROOT\imagecache
This is a side effect of using the anti-locking attributes on your context.
Er, OK ... thanks.
From: Lyallex [mailto:lyal...@gmail.com]
Subject: Dynamic Resources: getRealPath() returns the 'wrong' path
INFO: The path to the image cache is
C:\servers\tomcat\apache-tomcat-6.0.16\temp\1-ROOT\imagecache
ServletContext.getRealPath() is one of the leftovers from the early days
2009/6/11 Caldarale, Charles R chuck.caldar...@unisys.com:
Writing to the webapp's deployment location is a bad idea - you again have no
guarantee that it's allowed, and you're at the whims of the container and
execution environment controlling the actual location. Much better to write
From: Lyallex [mailto:lyal...@gmail.com]
Subject: Re: Dynamic Resources: getRealPath() returns the 'wrong' path
Works perfectly ... except I just cannot get he DefaultServlet to
serve any images that are written to any directory anywhere on the
filesystem after the server has started
Lyallex wrote:
2009/6/11 Caldarale, Charles R chuck.caldar...@unisys.com:
Writing to the webapp's deployment location is a bad idea - you again have
no guarantee that it's allowed, and you're at the whims of the container and
execution environment controlling the actual location. Much
Hi
apache-tomcat-6.0.16
jdk1.6.0_03
Dev box : Windows
Deployment box: Linux
I have my server installed at
C:\servers\tomcat\apache-tomcat-6.0.16\
My application is installed at
C:\servers\tomcat\apache-tomcat-6.0.16\webapps\ROOT
I have an image cache available at