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=6301>.
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=6301
Streams returned by getResourceAsStream don't close properly
------- Additional Comments From craig.mcclanahan@sun.com 2002-02-07 16:45 -------
You should also note a couple of other facts:
* The ability to modify web application resources is *not* defined
in the servlet specification. Therefore, you are totally on your
own, and cannot expect portability across containers.
* Running webapps from unpacked directories is also not defined in
the spec. It is therefore not something you can count on. Trying
to modify existing properties via getRealPath() will, of course,
fail in this scenario.
Web applications that want to modify and save persistent state should do so
somewhere external to the webapp itself.
--
To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>
|