Jordan, can you please provide the stack trace of the exception thrown by 
Tomcat?

Thanks,
-shawn

http://www.shawn-wilson.com

On Thu, 11 Apr 2002, Jordan C N Chong wrote:

> Dear all,
> 
> I am really really sorry that I have to repost the question cause I really
> couldnt find any solution for that. I really wish there is someone out there
> could help me me out here...
> 
> I wish to render the Tomcat 4.0 to access my local directory, what I mean
> is, I store some files in a directory, and that I could use servlet to
> download these files. I have tried to do the following:
> 
> FileInputStream file = new
> FileInputStream("C:\\Inetpub\\content\\test.txt");
> 
> or replace the "\\" with File.Separator, but the Tomcat 4.0 keeps
> complaining that the directory is not accessible. I presume I have to do
> some modification on the server setting or configuration, but I have no idea
> at all how to proceed.
> 
> Please help. Thank you very much.
> 
> Best regards,
> Jo
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to