To do that for other files you can implement a servlet
filter that sets the header with the given code.
-Ursprüngliche Nachricht-
Von: Gili [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 10. September 2002 14:05
An: Power-Netz (Schwarz); Tomcat Users List
Betreff: Re: AW: HELP!
On Tue, 10 Sep 2002 14:10:14 +0200, Ralph Einfeldt wrote:
To do that for other files you can implement a servlet
filter that sets the header with the given code.
And how do you tell Tomcat to tell that filter for that mime type?
Gili
--
To unsubscribe, e-mail: mailto:[EMAIL
too :} )
-Ursprüngliche Nachricht-
Von: Gili [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 10. September 2002 15:27
An: Ralph Einfeldt; Tomcat Users List
Betreff: Re: AW: AW: HELP! Configuring HTTP-headers per mime type?
And how do you tell Tomcat to tell that filter
On Tue, 10 Sep 2002 16:27:37 +0200, Ralph Einfeldt wrote:
The filter would be more general.
Define a filter that is triggered for every request.
In the filter set the header depending on the kind
of object that is requested. (The simple solution:
map extensions to mime types. What's good for
-Original Message-
From: Gili [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 10:39 AM
To: Ralph Einfeldt; Tomcat Users List
Subject: Re: AW: AW: AW: HELP! Configuring HTTP-headers per mime type?
On Tue, 10 Sep 2002 16:27:37 +0200, Ralph Einfeldt wrote