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! Configuring HTTP-headers per mime type? > > That won't work. What you mentioned only works for JSP > files, not XML or > HTML files. There has to be a way to specify headers > externally from the file itself. > <snip/> > > response.setHeader("Cache-Control","no-cache"); > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
