Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get Xml from URL

843842Jun 4 2010 — edited Jun 9 2010
Hello, I am tring to read an xml from a url using a servlet.
I have searched the web but the only thing I have read is a servlet that implements URLConnection, but I really don't understand how to use it and if this is a good way to do this.
The xml is static and is not generated so is visibile every time in the ulr.
After reading The xml I have to search inside it and read some elements, I have already done this so the real problem is how to read an xml from the URL.
I can also save the readed xml?

Thanks,
Nullo
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 7 2010
Added on Jun 4 2010
3 comments
254 views