tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Unable to access files outside Webapp directory in tomcat
Date Tue, 01 Sep 2009 18:06:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Akash,

On 9/1/2009 1:36 PM, asingla4 wrote:
> Initially, I was accessing the files using the absolute path

Accessing the files with what? A fork and knife?

> but this way
> I'm unable to download the files through my web Page (the download image on
> the page would require a relative path as src.)

Are you trying to read a file off the disk using something like
FileInputStream, or are you trying to access a file from the server
using a URL from a browser?

These are very basic questions whose answers will certainly help solve
your problem.

> So, eventually, I haven't been able to try anything.

:(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqdYrgACgkQ9CaO5/Lv0PD7WQCfTSxFJk3ZEDTaHcxGvzYBF+Qi
eKkAn2KnfKydHyLHxASNw/qx5N4NoZKJ
=OmST
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message