This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Parsing xml from a URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Parsing xml from a URL" Watch "Parsing xml from a URL" New topic

Parsing xml from a URL

Edward Morris

Joined: Jun 29, 2006
Posts: 18
How do I parse an XML file on a remote server in JSP? When I make a pure java stand alone app using JAXP, I am able to do something like

Document doc = docBuilder.parse("");

and it works. I do the same in JSP it fails.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60810

Why would you do this in a JSP rather than in its controller servlet?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Parsing xml from a URL
Similar Threads
Passing XML between JSP's through HTTP
jsp - ajax - html
Power of XML
xml FOP and jsp
jsp - Ajax - xml problem