HTTP gzip compression not working for css or javascript in tomcat 6 for amazon server

view full story

http://serverfault.com – Here is my setting in tommcat conf/server.xml The result is it can compress text/html but not for javascript and css. My rent this is amazon cloud server. I log onto this server and make the change restart the server no luck. Any idea? (HowTos)