how to configure etags in tomcat 2006-12-11 - By ying lcs
Back Hi
Can anyone please tell me how can I configure the strong etag, weak etag of a static resouce in tomcat?
I see this in html capture, I would like to know how can i get rid of the 'W/' in etags.
http://64.27.165.81/j.htm
GET /j.htm HTTP/1.1 Host: 64.27.165.81 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text /plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859 (See http://ISO-8859.ora-code.com)-1,utf-8 (See http://utf-8.ora-code.com);q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive
HTTP/1.x 200 OK Etag: W/"211-1165844229000" Last-Modified: Mon, 11 Dec 2006 13:37:09 GMT Content-Type: text/html Content-Length: 211 Date: Mon, 11 Dec 2006 15:41:46 GMT Server: Apache-Coyote/1.1
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|