How to read in the XML file on a remote website using JSP?

Posted by Alex on Stack Overflow See other posts from Stack Overflow or by Alex
Published on 2010-05-15T12:36:51Z Indexed on 2010/05/15 12:44 UTC
Read the original article Hit count: 184

Filed under:
|
|
|
|

Hi,

I'm using java servlets and jsp in my application and I need to read the remote XML file and properly render it into HTML and display on a web page...What is the technology used for reading process?Should I use HTTPURLConnection class to read the contents of the xml file or there is some other way? And also,if I use servlet as a controller and JSP as a view,what would be the responsibility of servlet and jsp in this process?Should servlet just read the whole XML file and then just pass the read output to JSP which will just print it and render properly using XSL for example?

I really hope to hear from any people who may help,

With kind regards

© Stack Overflow or respective owner

Related posts about jsp

Related posts about Xml