I just upgraded from Tomcat 4.0 to the latest Tomcat 4.1 and 
noticed something very strange that I was hoping someone could
give me some insight on:

Everyplace that I use to get a FileInputStream by simply saying:

   File file = new File("filename");
   InputStream istream = new FileInputStream(file);

I've had to change to

   File file = new File("filename");
   File file2 = file.getCanonicalFile();
   InputStream istream = new FileInputStream(file2);

In the second case calling

    file.getCanonicalPath()   or
    file2.getCanonicalPath() 

returns the same string.

I get the sense that there is something fundamental I'm 
just forgetting or not thinking about.  Any ideas?


Thanks.

Reply via email to