0 Replies Latest reply on Apr 11, 2013 6:29 AM by brooks russel

    How do I compress a Json result with Jboss7 AS

    brooks russel Newbie

      This is the config in my standalone.xml



              <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION" value="on"/>

              <property name="org.apache.coyote.http11.Http11Protocol.COMPRESSION_MIME_TYPES" value="text/javascript,text/css,text/html,text/xml,text/json,application/json,application/json; charset=utf-8"/>



      but i not sure why my response with ContentType=application/json is fine,but the content is not compress.

      When i changed ContentType=text/xml,it works.