tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan <>
Subject How to modify the ETag response header in a filter
Date Tue, 13 Feb 2007 22:54:52 GMT
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.



To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message