You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/04 23:54:01 UTC
DO NOT REPLY [Bug 3980] -
bug in handling java.net.URL for document root?
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3980>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3980
bug in handling java.net.URL for document root?
remm@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From remm@apache.org 2001-10-04 14:54 -------
That's definitely something which shouldn't be filed as a bug, but posted as a
question on tomcat-user.
Here you actually attempt to load todo.xml relative to the path where you
started the VM (not good). Use getServletContext().getResourceAsStream
("todo.xml") instead.