Christopher Schulz wrote:

>
> 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?

I have to ask our developers.

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

That's what i also believe.

>
> 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.
>
How can i do that ?


Bernd

Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671

Reply via email to