> > 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();
>         ....

     Okay, now how do you do this when the URL to be accessed requires SSL?
And how can I have the servlet snag cookies set by the URL and pass them back
to the browser that invoked my servlet?

Steven J. Owens
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___________________________________________________________________________
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