You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jordan C N Chong <ch...@cs.utwente.nl> on 2002/04/11 08:05:40 UTC

Access local directory with Tomcat 4.0

Dear all,

Sorry to post this question again, cause I didn't receive any reply... so I
think I should rephrase my question.

I am using standalone Apache Tomcat 4.0, on my Windows 2000 machine.

I am making a servlet for file downloading using the Tomcat 4.0, but I am
not sure how to setup or configure the local directory, cause when I do
this:

FileInputStream filein = new FileInputStream("C:\\temp\\text.txt");

I got IOException for that, because Tomcat 4.0 complains the directory is
not accessible... Please help me. Thank you very much.


Best regards,
Jo


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>