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