tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: specifying the content-type
Date Fri, 03 Jun 2011 21:18:21 GMT
On 03/06/2011 10:22, André Warnier wrote:
> Pid wrote:
>> On 01/06/2011 13:13, Lentes, Bernd wrote:
>>> Andre Warnier wrote:
>>>
>>>> Your configuration of mod_jk below looks correct (except a
>>>> small detail, see JkMount).
>>>> But I must say that it is difficult to believe that the
>>>> request is actually forwarded to Tomcat, and that Tomcat then
>>>> fails to recognise the file as a JSP page, and returns it as
>>>> "text/plain" source.
>>> The content is dynamically delivered by a servlet, not a jsp-file.
>>
>> And is that Servlet setting the Content-type header to "text/html" ?
>>
> No, it doesn't, and that is the source of the problem. See my previous
> post.


Yeah, I saw it after I'd posted...


p


Mime
View raw message