I'm not sure what a .tif file is, and I'm not exactly sure what you are
asking, but I assume that you are trying to access the contents of this
.tif file, which resides outside of your application context. These two
methods in the servlet context may help you: getResource (String path)
and getResourceAsStream (String path)
-----Original Message-----
From: gnebro [mailto:gnebro@i...]
Sent: Wednesday, March 05, 2003 5:41 AM
To: Pro_JavaServer_Pages
Subject: [pro_jsp] File System Files Access by Tomcat
Hi,
I have a very big problem. In my Web Application I have to open some
images (.tif) in my Jsp.
The problem is that all those images togheter are very strong (a lot of
Gb) and so I have to place them into different subdirectories inside the
main directory. The main directory is quite strong, and so I cannot
place
it under my Application's defaultroot, at the same level than jsp,
neither
in the .war file. I have to place it in another file system directory
than
this. So, I need my jsp to be able to enter into this file system
directory and also into all of its subdirectories.
How can I do that??
OS: Windows 200 Server
AS: Tomcat 4.0.6
Thanks a lot... and sorry for my English!
bye