the program written is working at home but not in college.
the program takes in a URL of a web-page as input. the program is expected to retrieve the content of a web-page which is then further analysed to find the emailids present in that web-page.
the web-pages present on the local hard disk are retrieved properly but when the URL is over Internet ex: http://google.com it is not working.
the college provides us Internet Service through a proxy server. we are working on JDK6.0 kit and Windows XP SP2 Operating System.we are developing this application under eclipse2.0 IDE tool. the college system has Pentium processor and 256MB RAM.
can you please help me in solving this problem?
Proxy Server settings :
method 1) proxy server's address is 184.108.40.206 it is set using setProperty method. proxy server's port is 80
220.127.116.11 java.net.SocketException: Unexpected end of file from server at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source) at sun.net.www.http.HttpClient.parseHTTP(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at URLdemo.getContent(URLdemo.java:29) at URLdemo.main(URLdemo.java:17) IOError!
author and iconoclast