Originally posted by Eric Howell: [B]I wonder if someone could lend me a hand. In the following snippit of code I want to validate that I have connected to the correct URL. How can I do this.
public void testUrl(URL u)
BufferedReader br = new BufferedReader(new InputStreamReader (u.openConnection().getInputStream())); ect
Hope someone can help me out as I fail to find away but feel that you must be able to do this. Thanks in advance [/B]