tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aditya <>
Subject apache2 output filter, mod_jk and JSP content type
Date Thu, 26 Dec 2002 04:27:53 GMT
I'm trying to apply a Apache2 output filter (mod-xslt) on JSPs, served by
mod_jk, based on the JSP content MIME Type using the Apache
AddOutputFilterByType directive.

However, it looks like Apache2 decides the content type of a file when the
request comes in rather than from the response headers. This causes the Output
Filter not to be applied when the Content Type is overridden explictly in the
headers of a JSP using:

  <%@ page contentType="text/xml" %>

The note at:

seems to suggest that. It also notes that "The by-type output filters are
never applied on proxy requests." -- would mod_jk served files qualify as
"proxy requests"?

It sounds like an Apache output filter "bug/feature" but perhaps I'm
misunderstanding how it should work? Is that the way it's supposed to work?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message