Reading XML file from a given URL
807601Jun 15 2008 — edited Jun 16 2008Hi, I want to read an XML file - such as an RSS weather feed and format it to match the style of my site (im using Java servlets). I am able to get a HttpURLConnection, but how do I then read from it? if I use the .getInputStream() method on runtime I get the error
"java.net.UnknownServiceException: protocol doesn't support input
java.net.URLConnection.getInputStream(URLConnection.java:779)"
can anyone enlighten me?