This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Servlets and the fly likes reading xml file using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "reading xml file using servlet" Watch "reading xml file using servlet" New topic

reading xml file using servlet

swapnil paranjape
Ranch Hand

Joined: May 15, 2005
Posts: 126
I just have basic knowledge of servlets.I am doing project in which i have to use servlet to read one property from one xml file and other from other xml file and compare both how should i go about this?which topic i have to learn before doing this? how to read a xml file using servlet?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410


What you're asking, even though you will be performing it in a servlet, is not
really a servlet specific question.

Your question will probably be seen by more people who have the answers at their fingertips if you move it to the XML forum:

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: reading xml file using servlet
It's not a secret anymore!