On 20/08/2012 22:35, Chris Hegarty wrote:
Shirish,
Oooh, I'm not sure that any change to URL of this kind would be
compatible. It may have been desirable to have this kind of behavior
when URL was being originally created, but it is a legacy class, now
replaced with URI, and I'm not sure a ch
Shirish,
Oooh, I'm not sure that any change to URL of this kind would be
compatible. It may have been desirable to have this kind of behavior
when URL was being originally created, but it is a legacy class, now
replaced with URI, and I'm not sure a change like this could be done in
a way to p
Any thoughts on the following
It will be good if the one could create relative url from other url
which is based on windows style path.
example "hello.html" relative "http://someserver/foo/bar"; becomes
"http://someserver/foo/hello.html";
In the similar way "hello.html"relative to "file:///C:
Hi,
I have the following piece of code
URL url = new URL("file", "/", "C:\\temp\\Java6");
System.out.println(url);
URL url1 = new URL(url, "hello.html");
System.out.println(url1);
first System out prints as "file:///C:\temp\Java6\Lotus"
Second one prints the valu