This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Reading local file" Watch "Reading local file" New topic
Author

Reading local file

Tacha Arnull
Greenhorn

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!!!
 
wood burning stoves
 
subject: Reading local file
 
Similar Threads
Can not find server or DNS error
How to run a Servlet using java web server
problem with mapping using servletrunner
Having trouble setting up JSP engine
How to test my servlet