tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: specifying the content-type
Date Wed, 01 Jun 2011 14:10:24 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bernd,

On 6/1/2011 5:18 AM, Lentes, Bernd wrote:
> I use JKMount, and DocumentRoot of httpd and webapps of tomcat are
> not overlapping.
> 
> [snip]
> 
> We don't use jsp, we have servlets.

Okay. Can you post your servlet code, then?

There is no default Content-Type for HTTP responses, so getting a
response directly from Tomcat might cause the browser to auto-detect
content.

It's possible that Apache httpd wants to use a Content-Type and defaults
to text/plain for some reason.

You might want to properly set the Content-Type header in your servlet
code if you aren't already doing it.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3mSFAACgkQ9CaO5/Lv0PBtKQCZAb7EA5ORK2d/cMwodfBiFE/x
umcAnioj4Ujz0sI76Cn/WvqZG7ULnmVy
=Tagb
-----END PGP SIGNATURE-----

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


Mime
View raw message