Home arrow static arrow Java Programming [Archive] - url problem
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - url problem
This topic has 1 reply on 1 page.

Posts:60
Registered: 3/30/04
url problem  
Jun 17, 2004 11:06 AM



 

Hi all,

I have a problem with the Url-class. When i use it i get a compile-time error twice:

cannot resove symbol: class Url in class xxxx.Xxx at line L

the code :

Url u = new Url("xx.xx.xx.xx.xx");

i have imported net, util, lang, io

any help is wlkom

gr. Razorblade

 

Posts:19,725
Registered: 9/26/01
Re: url problem  
Jun 17, 2004 11:08 AM (reply 1 of 1)



 
It's java.net.URL, not java.net.Url
http://java.sun.com/j2se/1.5.0/docs/api/
 
This topic has 1 reply on 1 page.