> > Hi, > > first, i'm new to tomcat and i'm not a java developer. > My collegues developed a web application i have to deploy > now. I'm using tomcat6 on a sles 11 sp1 box. > I configured a httpd (apache 2.2.10) in front of the tomcat, > which communicates with tomcat using AJP. > When i open one link, i don't see the desired web page, but > the source code of it. Using tcpdump shows me that the > content type in the http-header is text/plain. Ok, that's the > reason why i see the source code. Can i configure the > content-type which is delivered by tomcat ? I tried using > mod_mime_magic on httpd, but this module just helps > specifying the content-type of static files. Our content is dynamic. > > Thanks in advance. > > > Bernd >
appendix: when talking with a web browser directly to tomcat (port 8080), the web page is shown correctly. Tomcat itself delivers in the http-header no content-type. 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