You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Cartwright <Jo...@noaa.gov> on 2007/04/20 01:00:08 UTC

mod_jk and image/png responses

Hello All,

I have a servlet which generates and returns an PNG, setting the 
mimetype with setContentType("image/png").  Everything works fine when 
Tomcat directly handles the request.  However, when using mod_jk to pass 
the requests through Apache, the mime type of the response seems to be 
lost by the time Apache receives it.

My mod_jk.conf is very simple, using Tomcat to serve all of the content 
in the context:

JkMount /sampleIndexWms/* ajp13


Can anyone tell me what I'm doing wrong here?  Versions are: Tomcat 
5.5.20, mod_jk 1.2.20.


Thanks!

-- john


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org