- 浏览: 45641 次
- 性别:
- 来自: 大连
最新评论
文章列表
I was trying to load a file in a webapp, and I was getting a FileNotFound exception when I used FileInputStream. However, using the same path, I was able to load the file when I did getResourceAsStream(). What is the difference between the two methods, and why does one work while the other doesn't?
...