how to configure jboss in order to compress the source code while rendering to the browser. I added the below code snippet in jboss server.xml.

compression="force" compressionMinSize="256"
compressableMimeType="text/html,text/xml,text/plain"

but it doesn't work.Please help.