为Jboss启用gzip压缩 [英] Enabling gzip compression for Jboss
本文介绍了为Jboss启用gzip压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何启用Jboss 5.1.0的gzip压缩?
How is gzip compression for Jboss 5.1.0 enabled?
在tomcat http连接器中?我不记得这个文件存储在哪里server.xml?
Within the tomcat http connector right? I cant remember where this file is stored, server.xml?
推荐答案
文件在server.xml下,表示您必须更新http连接器。
The file is under server.xml and you are correct in stating that you have to updated the http connector.
以下链接是tomcat的信息,但同样适用于JBoss,除了server.xml文件的位置。我相信你需要更新在deploy \jbossweb.sar \
Following link is info for tomcat, but same applies to JBoss except location of server.xml file. I believe you need to update the server.xml under deploy\jbossweb.sar\
http://viralpatel.net/blogs/2008/11/enable-gzip-compression-in-tomcat.html
这篇关于为Jboss启用gzip压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文