RE: Tomcat corrupts file during download

2002-04-06 Thread Dan Gabdullin
Hello If this problem indeed exists, then it is a JVM problem. Tomcat obviously can't make a difference it is sending bytes on the LAN or on a WAN, and doesn't do anything unusal when it comes to bytes output. That being said, some people are actually using TC on the internet without corruption

Re: Tomcat corrupts file during download

2002-04-06 Thread Matt Gregory
correctly. Just thought I would point that out since it gave me some serious headaches. - Original Message - From: Dan Gabdullin [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Saturday, April 06, 2002 5:55 AM Subject: RE: Tomcat corrupts file during download Hello

RE: Tomcat corrupts file during download

2002-04-06 Thread Dan Gabdullin
Are you downloading the file with a jsp page? It should be noted that if you write to the output stream of a jsp page: [HttpServletResponse/ServletResponse.getOutputStream()], then the output stream returned is a character output stream and will mangle binary files and not handle all output

Tomcat corrupts file during download

2002-04-05 Thread Dan Gabdullin
We have Standalone Tomcat 4.0 installed. When our server was directly connected to cable modem and had only one IP address X.X.X.X Tomcat worked fine. Problems appeared after we installed a new router. After router installation, the server got 2 IP addresses X.X.X.X (external, associated with the

Re: Tomcat corrupts file during download

2002-04-05 Thread Remy Maucherat
We have Standalone Tomcat 4.0 installed. When our server was directly connected to cable modem and had only one IP address X.X.X.X Tomcat worked fine. Problems appeared after we installed a new router. After router installation, the server got 2 IP addresses X.X.X.X (external, associated