Java Mailing List Archive

http://www.junlu.com/

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

setting headers on non-jsp files

Daniel Blumenthal

2006-12-25

Replies:

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



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