You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stefan <st...@telig.de> on 2007/02/13 23:54:52 UTC

How to modify the ETag response header in a filter

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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org