Welllington Lacerda wrote:
>
> Jason,
>
> You can open a socket to your company's server current used port (default 80), send
> a GET request to the page you want and listen the socket. The server will reply with
> the HTML of the page you want.

Even easier -- use java.net.URL to get there:

        URL url = new URL("http://www.news.com/index.html");
        URLConnection con = url.openConnection();
        con.connect();
        InputStream in = con.getInputStream();
        ....

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to