tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Been <b...@us.ibm.com>
Subject RE: Including Zip functionality in a filter...
Date Fri, 22 Oct 2004 18:04:12 GMT
right, I checked the 4.1 docs and removed the MimeTypes attribute and it 
still doesn't compress.

So i set compression="5" to have it compress any output length > 5 bytes 
be compressed.   still didn't work.
any other hints?   thanks much for your replies.

>Yet another reason to upgrade
Posted this problem last week:

I tried tomcat 5 (jdk142) and 5.5 (jdk15) but our servlet doesn't return 
any output (compression disabled) from a POST (content-length always 0), 
I'm assuming we have to recompile w/the new servlet-api.jar, or we are 
having some other strange runtime problem.   this production servlet works 
on a number of web servers since 2000.   The output is persisted to a 
file, so i know that much works, just not returned to the client. nothing 
in logs.
I understand this type of queston is too open ended .... to get any 
response.    sorry.
Dave Been




"Shapira, Yoav" <Yoav.Shapira@mpi.com>
10/22/2004 09:27 AM
Please respond to "Tomcat Users List"
 
        To:     "Tomcat Users List" <tomcat-user@jakarta.apache.org>
        cc: 
        Subject:        RE: Including Zip functionality in a filter...



Hi,

>I looked at the docs and added to my 8080 non-SSL Connector in
server.xml
>(tomcat 4.1.3) the following:
>
> compression="force"
> compressableMimeType="text/html,text/xml,*/*"

Look at the docs again.  The attributes for Tomcat 4.1 and 5.x are
different.  The former doesn't have a compressableMimeTypes attribute.
Yet another reason to upgrade.

Yoav



This e-mail, including any attachments, is a confidential business 
communication, and may contain information that is confidential, 
proprietary and/or privileged.  This e-mail is intended only for the 
individual(s) to whom it is addressed, and may not be saved, copied, 
printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your 
computer system and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message