Hi,
This may help you,
Start with file:/// <file:///>
That is., if u want d:/ path, then file:///d:/ <file:///d:/>
If you use ".", it refers to server's root path.
That is if JavaWebServer is installed in d:/, then "." refers to
"d:/JavaWebServer2.0/"
So use "./textfolder/file.txt" if file.txt is in
"d:/JavaWebServer2.0/textfolder".
Regards
Praveen Tapashetti
Mascot Systems Ltd
Chennai, India
Tel: 91-44-2301236 Extn: 3321
-----Original Message-----
From: Wilhelm Kanzler [SMTP:[EMAIL PROTECTED]]
Sent: Wednesday, March 07, 2001 1:57 PM
To: [EMAIL PROTECTED]
Subject: absolute path in windows98
Hi
could anybody tell me how tostart a absolute path in a servlet on a
windows98 PC
i tried almost everything ie /, \\, \, D:/, >D:\\ etc
i have also a problem with the relative path wwhen i want to load a
txt-file from within the same directory and i only get
FileNotoundException
thx
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in
the body
of the message "signoff SERVLET-INTEREST".
Archives:
http://archives.java.sun.com/archives/servlet-interest.html
Resources:
http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html