I need to access a file on an HTTP server and retrieve information from 2 different sites within that file. At this moment I can withdraw from only one. My doubt is, I can simply do:
BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
BufferedReader in2 = new BufferedReader(new InputStreamReader(con.getInputStream()));
where
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
Or do I need to make a new HttpURLConnection
for this?