tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42157] - URLs returned by ServletContext.getResource() cannot resolve, directories cannot be browsed...
Date Wed, 18 Apr 2007 17:54:55 GMT
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





------- Additional Comments From rui.damas@gmail.com  2007-04-18 10:54 -------
Ok, I know that :), because when i use winstone server (that does not jndi) over
the same webapp i get a "file:" URL from getResource...

But the problem is that the jndi URL returned has the TWO SLASHES after and not
before the server name, dont't know about jndi protocol but i think that this
must be plain wrong because all URLs i've seen have the TWO SLASHES before the
server name and not after.

Would you please give me a better explanation... I still believe this is a bug.

(In reply to comment #3)
> I made a mistake: it will not return a file: URL in most cases. The stream
> handler factory for the jndi: protocol is set during Tomcat startup, however.



-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message