why does java's URL class not recognize certain protocols ?

Posted by trinity on Stack Overflow See other posts from Stack Overflow or by trinity
Published on 2010-03-09T03:49:50Z Indexed on 2010/03/09 3:51 UTC
Read the original article Hit count: 233

Hello all ,

URL u=new URL("telnet://route-server.exodus.net");

This line is generating :

java.net.MalformedURLException: unknown protocol: telnet

And i encounter similar problems with other URLs that begin with "news://"

These are URLs extracted from ODP , so i dont understand why such exceptions arise..

© Stack Overflow or respective owner

Related posts about java

Related posts about url