Re: Class path basic question and FileInputStream

2007-03-20 Thread Harring Figueiredo
Larry: When you ran the webapp, the container has a _different_ view of the file system. The "root" of the file system for the web application will the root of your web app. The class path you are describing plays no role in finding the program.xmlfile when you try to open a file the way you are

Class path basic question and FileInputStream

2007-03-20 Thread Zhang, Larry \(L.\)
I have a program.xml file phycially located in a directory in my web project class path in WSAD,then in my jsp I am trying to read this file, I got an error saying the file is not found. Why? When creating File file = new File("program.xml"); on earth, which directory does JVM tries to find out the