URL url = new URL("http://www.amazon.com"); HttpURLConnection connection = new HttpURLConnection(url); InputStream inputStream = connection.getInputStream();
[How To Ask Questions On JavaRanch]