You should use Apache to serve static HTML pages and JPGs and files and whatnot, and use Tomcat purely to handle dynamic content.
That being said, I've never experienced your problem serving images with Tomcat via mod_jk. ----- Original Message ----- From: "Reynir H�bner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, March 23, 2002 8:44 AM Subject: mod_jk seems to corrupt JPEGs Hi, The strangest thing is happening, some of the jpegs I have in my application are getting corrupted when they are viewed through Apache using mod_jk. What I am trying to say is if I use a normal URL, something like http://www.host.com/media/img/someimg.jpg I sometimes get corrupted images, if I on the other hand access tomcat directly (bypass apache and mod_jk connector) and use a url like this http://www.host.com:8080/media/img/someimg.jpg the image is OK. Could anyone tell me what is going on, and if there is a fix for it. thanx [EMAIL PROTECTED] -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
