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=13467>. 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=13467 getResource() URL doesn't know the content type Summary: getResource() URL doesn't know the content type Product: Tomcat 4 Version: 4.0.4 Final Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] the URL object returned by the ServletContext's getResource() method doesn't figure out the content-type of the wrapped resource strictly speaking this is maybe not a bug but shurely is a low-quality implementation the javadoc for ServletContext's getResourceAsStream() method says: "Meta-information such as content length and CONTENT TYPE that is available via getResource method is lost when using this method." so it implicitly states, that the content type should be available from the getResource() method -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>