DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42157>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42157


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |




------- Additional Comments From [EMAIL PROTECTED]  2007-04-18 14:18 -------
When you wrote "toURI().resolve is useless"...
I've searched a bit and that's not correct, since all URLs are URIs
(http://www.google.com/search?q=%22all+URLs+are+URIs%22) using toURI().resolve
should work and be useful.

at the URI java class documentation explains the following format:
[scheme:][//authority][path][?query][#fragment]

and not: [scheme:][/authority//][path][?query][#fragment]

In "jndi:/servername//WEB-INF/" the server name is actually part the of the
path, i tested it and...

URL url = context.getResource("/WEB-INF/");
url.getHost();
// returns ""
url.getPath();
// returns "/servername//WEB-INF/"

I'm reopening the bug, at least till someone confirm that that's way is supposed
to be.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to