Re: Overwritten or ignored ContentType by setContentType

2008-03-04 Thread Mark Thomas
André Schulte wrote: Why is the ContentType overwritten or maybe ignored by invoking the setContentType("application/xhtml+xml; charset=ISO-8859-1") ? Looking at the source, there are two possibilities: 1. The response has already been committed 2. The servlet is being included in another respo

Overwritten or ignored ContentType by setContentType

2008-03-04 Thread André Schulte
Hello, I use the Tomcat 6.016 on unix Following Problem. I set the contenttype in the Response setContentType("application/xhtml+xml; charset=ISO-8859-1") and log directly the Contenttype but it is null by calling getContentType() Why is the ContentType overwritten or maybe ignored by invoking