DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5704>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5704 CgiServlet corrupting images? ------- Additional Comments From [EMAIL PROTECTED] 2002-11-15 04:22 ------- I think this is due to the Reader that the CGIServlet uses- on big-endian machines (SPARC specifically is where I was this problem) it might be peforming some sort of translation on the input that screws up binary data like jpegs. When I wrote a standalone CGIServlet, I instead used: BufferedInputStream input = new BufferedInputStream(p.getInputStream()); and it worked fine. My 2 cents. -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>