Hi,

I am lost in the jungle of urls, urlstreamhandlers and contenthandlerfactories.
What I am trying to do is simply to get the contents of an url (the html) and
printing it.

If anyone has done this before, please send me some sample code.

This is how far I've gotten:
===
URL url = new URL(urlname);

URLConnection conn = url.openConnection();

conn.connect();

String mime = conn.getContentType();

===

___________________________________________________________________________
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