-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 10, 2002 8:34 PM
To: Tomcat Users List
Subject: Re: How to get a File for a certain folder
[...]
For maximum portability, you should use the
ServletContext.getResourcePaths() method
Hello Erik,
No, you won't really have write capability...at least not FileIO write
capability. You might be able to update some resource the same way as
you might update a file in a jar file at runtime, although I haven't
looked into that.
The only place you are guaranteed write access is to
Hi,
the needed class isn't my Problem. It is that I have the relative
tomcat-path and want to open a folder. But that doesn't work. I can't
access these folder or also a file, that is my problem. Can you help me?
Patrick
micael wrote:
You just want some functionality in a class. Where you
On Mon, 9 Dec 2002, Patrick Kosiol wrote:
Date: Mon, 09 Dec 2002 12:34:30 +0100
From: Patrick Kosiol [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: How to get a File for a certain folder
Hi,
how can I get a File-Object
Hi,
how can I get a File-Object for a certain Folder placed under my
$CATALINA_HOME/webapps/ROOT/ - Folder. I want to traverse over the files
that are placed there.
Can anyone help me?
thx
Patrick
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Patrick Kosiol wrote:
Hi,
how can I get a File-Object for a certain Folder placed under my
$CATALINA_HOME/webapps/ROOT/ - Folder. I want to traverse over the
files that are placed there.
Can anyone help me?
thx
Patrick
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional
I can tell you, but I think you will misunderstand. File certainFolder =
new File([folder file url]); You need to read a Java book on
files. There are lots of good ones. You can actually just read the
interface, JavaDocs, for File and pretty much get the answer. Most Java
books include
You just want some functionality in a class. Where you use it is not
immediately important. Just use it in a servlet. If you don't know how to
use servlets, that is a separate problem. Check out Hunter and Crawford on
servlets.
At 12:37 PM 12/9/2002 +0100, you wrote:
Patrick Kosiol