I have the URL for a site that will send a page. When I type the URL into a new browser and press enter, the page is sent.
I am trying to do this now with my
java program.
I have done the following, but the page is not sent:
URL url = new URL("http://myurl");
URLConnection connection = url.openConnection();
connection.connect();
Does anyone have any ideas what I am doing wrong?
THanks!