Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: setting headers on non-jsp files

Marco Pöhler

2006-12-25

Replies:

Hi Daniel,

You can use a Servlet-Filter if you can select all JavaScript-Files with
servlet-filter mappings.

best regards

Marco
--
http://www.kontaktlinsen-preisvergleich.de
http://www.tintenpatronen-preisvergleich.de





Daniel Blumenthal schrieb:
> Happy holidays, all!
>
> Is there any way to set HTTP headers on non-jsp files, using only tomcat?
> What I would like to do is set javascript files to "no-cache", so that the
> browsers pick up the (fairly frequent) changes.
>
> Any ideas?
>
> (I could just turn them into jsp files, and I may yet do so, but there are a
> lot of them...)
>
> Daniel
>
>
>
>
>  



---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.