File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Reading local file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Reading local file" Watch "Reading local file" New topic

Reading local file

Tacha Arnull

Joined: Aug 18, 2000
Posts: 12
THis is driving me nuts and I am sure it is really simple! If I have my servlet in jswdk-1.0.1/examples/web-inf/servlets which is mapped as http://localhost:8080/examples/servlet and I have a file in jswdk-1.0.1/webpages which I think is mapped as http://localhost:8080/
then how do I read my file. I have an xml file and I want to parse the contents but it simply is not working no matter how I try.
Please help!!!
I agree. Here's the link:
subject: Reading local file
It's not a secret anymore!