I'm trying to access a URL in my program. I opened the URL page in my web browser and it looks fine but when I run my program. I got an IOException that says: "Server returned HTTP response code: 400"
I'm not sure why I got this since it seems that I could open it in my web browser (Internet Explorer).
This is what I do in my code:
BufferedReader reader = new BufferedReader(new InputStreamReader(new URL("http://myPage.htm