I have to download and parse XML files from http server with HTTP Basic authentication. Now I\'m doing it this way:
URL url = new URL(\"http
Use HttpClient. Documentation for performing downloads with HTTP AUTH is here. Documentation for getting a string result is here. Then, parse your string (ideally using SAX, though, not DOM).