First post in the Java forum for me!
I'm working on a project that uses JSP, unfortunately, I'm a PHP programmer by trade.
Our project involves pulling in XML from an internal server, then parsing it. I'm not too worried about the parsing of the XML, but I can't seem to find any online resources on how to actually grab an XML file from a server via an HTTP request.
All I really want is the JSP equivilant of PHP get_file_contents("http://192.168.1.1/server/xml_data.xml")
I think Java uses file streams, network sockets, etc, but like I said, I'm not a Java programmer by nature.
I've searched on Google for things like "JSP read remote file", and the like. The closest that I've come is something reading RSS feeds, but they usually have some proprietary or custom bean / tag library that I can't get installed.
Any and all help is GREATLY appreciated.