Click to See Complete Forum and Search --> : Immediate help needed!....thanks


May 4th, 2000, 05:47 PM
import java.net.*;
import java.io.*;

class Hyperlink {
public static void main(String[] args) throws Exception {

1. AND HERE I HAVE TO CREATE A URL OBJECT WITH THE FOLLOWING URL
HTTP://WW.MSN.COM
2. ALSO I HAVE TO USE THE getPRotocil, getHost, getRef, getPort and getFile method to this URL

CAN ANYONE HELP PLEASE??

THANKS

boeny
May 11th, 2000, 03:09 AM
Have you ever looked into the Java API docs??
http://java.sun.com/products/jdk/1.2/docs/api/index.html

Try the class URL!