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 2003/05/16 18:12:11 UTC
DO NOT REPLY [Bug 19988] New: -
web.xml mime-mapping doesn't seem to be working for image/jpeg
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=19988>.
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=19988
web.xml mime-mapping doesn't seem to be working for image/jpeg
Summary: web.xml mime-mapping doesn't seem to be working for
image/jpeg
Product: Tomcat 4
Version: 4.1.24
Platform: PC
URL: http://67.161.113.29:8000/pics/cat/PICT0008.JPG
OS/Version: Windows NT/2K
Status: UNCONFIRMED
Severity: Minor
Priority: Other
Component: Connector:Webapp
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: halesm@hotmail.com
I placed this xml snipet in my web.xml
<mime-mapping>
<extension>*.JPG</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
<mime-mapping>
<extension>*.jpg</extension>
<mime-type>image/jpeg</mime-type>
</mime-mapping>
and the pictures are still being served up as "text/plain", am I doing something
wrong, or is this a bug?
Note : you will have to use a mozilla based browser, or something other than IE,
to reproduce this bug. IE will display the image even though the mime-type is
"text/plain"
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org