tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Adams" <>
Subject RE: com.oreilly.servlet and damaged files
Date Sun, 10 Feb 2002 01:25:11 GMT
I bet it is the connector!
run tomcat as stand alone (port 8080 by default) and access the servlet
without using apache and I bet money it will work!

-----Original Message-----
From: Reini []
Sent: Saturday, February 09, 2002 10:00 PM
Subject: com.oreilly.servlet and damaged files

I use com.oreilly.servlet Multipartrequest  (cos, version from June,
19th. 2001) with Tomcat 4.0.1 + mod_webapp + apache 1.3.22  (tested on
different machines, Redhat 7.x and Freebsd 4.4, same behaviour) to
upload files.

While uploads of text-files are ok, uploads of jpg or gif files result
in damaged files. The size of the uploaded files is about 1 % smaller
than the original files.

example of a jpg file:

^L^T^M^L^K^K^L^Y^R^S^O^T^]^Z^_^^^]^Z^\^\ $.'

uploaded file:
^L^T^M^L^K^K^L^Y^R^S^O^T^]^Z^_^^^]^Z^\^\ $.'

(note the missing 'ÿ' in the uploaded file)
I experimented with settins of different character-encodings, without

Anybody has any ideas how to fix this ?


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message