Jason Dimm wrote:
>
> Hello all,
>
> Does anyone know how I can use the URL and URLConnection objects to connect to a
> website (say, www.yahoo.com), grab the html from their home page, and put it
> into a string within a servlet?
>
> Please send me any code samples you might have or can show me to get me started
> in the right direction (relatively new to Servlets).

RTFM :-)

http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html

Martin

___________________________________________________________________________
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