Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes new protocol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "new protocol" Watch "new protocol" New topic

new protocol

Viet Jav
Ranch Hand

Joined: Dec 27, 2001
Posts: 55
I have a java code written by someone. This java code create a new protocol, called "unirium"(unirium://host ort).
When I run this java code in java application environment, the program output correct results.
However, When I run this java code in web envirnment(), the program throw MalformedURLException exception (in position: new URL("unirium://host ort")).
Why? Please explain for me this problems. How to solve?
Lam nguyen.
[ August 13, 2002: Message edited by: Lam nguyen ]
Rodney Woodruff
Ranch Hand

Joined: Dec 04, 2001
Posts: 80
What is the exact error message?

Hope This Helps
I agree. Here's the link:
subject: new protocol