Problem with Apache+JServ+Servlets delivering gzipped Files

Problem with Apache+JServ+Servlets delivering gzipped Files

Post by Kai Rod » Thu, 02 Dec 1999 04:00:00


The company I work for is using an Apache web server with JServ. I have
a servlet which is supposed to deliver gzipped data if the browser supports
decompression on the fly.

However, it looks like Apache deletes the "Content-Encoding:" header which
the Servlet correctly sets, and thus the browser displays the gzipped
data without decompressing it.

Has anybody ever tried doing this and succeeded?



1. Apache JServ and servlet using non-public classes within the same .java file

Hello -- I got Apache JServ 1.0 up and running on Solaris.  I got some
simple test servlets going, but then I discovered that if my servlet .java
file has additional classes defined within it, and they are used within the
main public HttpServlet class, then I keep getting ClassNotFound exceptions
(or something like that).    It seems like the servlet runner cannot find
these private classes within the same class file.  (I can get it to work by
combining everything into one class and removing the use of these classes).

I have no problem instantiating classes that are public and defined
elsewhere in a .jar file and I've included them in the classpath via the
.conf files.

Has anyone seen this before?  Is there something I missed in the
configuration files?



2. sendmail FROM address incomplete

3. Using UNC file names in Servlet (Apache/JServ)

4. more than 512 MB on Samsung UX (Ruffian) MB with linux-k2.035 ?

5. Apache Jserv / java servlets under FreeBSD Apache

6. Help with SARLIB and Alcatel

7. Problem with servlets using Apache and Jserv

8. HP Workstation

9. jserv for apache : Class javax.servlet.http.Cookie not found in import.

10. Apache/Jserv/Servlets/Memory

11. Apache Jserv - Servlet question

12. Apache 1.3.3 w/ JServ: Servlet-Error.

13. HELP!? Servlet logs on apache/JServ