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 44405] - regression with tomcat 6.0.16, NullPointerException on getServletContext().getResourceAsStream()
Date Wed, 13 Feb 2008 11:58:52 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=44405>.
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=44405





------- Additional Comments From omichels@web.de  2008-02-13 03:58 -------
sorry for not looking up in JavaDoc.

fixing my code to
  is = this.getServletContext().getResourceAsStream("/WEB-INF/foobar.txt");
resolved the problem.

Although. Let me note, that the code worked perfectly with tomcat 5.5.25.
Perhaps this should go in the FAQs.

Regards, Oliver


-- 
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