Martin Kuen wrote: > > Hi Bernd, > > I think your colleagues forgot/didn't want to set the > content-type in the servlet(-code)?
Yes, i also think they forgot. They are Bioinformatics and don't know much about protocols and web servers. > > text/plain is apache default for anything it doesn't know (if I recall > correctly) > If no content-type is set by the servlet, no content-type is > delivered. > No content-type set by the servlet causes *your browser* to > start guessing. > text/html is a pretty solid guess for a browser. > > Often a servlet can only generate one kind of content-type. > If that's the case there's no point in making it configurable. > > However, you could use mod_headers to have this set/added by > apache . . . > I will check this out. 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