Java Mailing List Archive

http://www.junlu.com/

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

How to modify the ETag response header in a filter

Stefan

2007-02-13


Hello again,

is it possible to modify the ETag response header inside a servlet
filter? The code
httpResponse.setHeader("ETag", "W/\"388-1171402768254\"");
has no effect.

It seems that tomcat always "fills up" the ETag value with the
modification date of the requested static resource. This causes caching
problems in our application.

Thanks
Stefan

--
Stefan


---------------------------------------------------------------------
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.