Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
Found the problem - I had copied the build process from another project. Unknowingly that process was adding an unmount for all gifs/jpgs etc in another config file included in the end. I took it out now and it works. Sorry guys for wasting your time, and thanks for trying to help. -- View thi

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
Adding another tiny detail - Requests for /myapp/xyz.htm is handled by tomcat (shows tomcat error) requests for /myapp/pqr.html is handled by apache (shows apache error) I checked my mime.types file (apache) and web.xml (tomcat) too. It does contain all mime types. -- View this message in

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
-- Here's the configuration in my httpd.conf # Mod_jk settings # Load mod_jk module LoadModulejk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile /etc/tomcat6/workers.properties # Where to put jk shared memory JkShmFile /var/log/tomcat6/mod_jk.shm # Where to put

Re: Tomcat not displaying images

2009-10-20 Thread ankush2kn
gt; > On Tue, Oct 20, 2009 at 8:02 AM, ankush2kn wrote: > > And when you try that, the 404 is generated by [ ] httpd [ ] Tomcat ? > > -- > Hassan Schroeder hassan.schroe...@gmail.com > twitter: @hassan > > -- View this message in co

Tomcat not displaying images

2009-10-20 Thread ankush2kn
Hi, I am using apache & Tomcat with mod_jk. When i point my browser to "www.mycompany.com/myapp", myapp works fine and displays index.jsp. However, none of the images in my jsp show up. In fact, all JSPs & HTMLs in myapp load fine, but none of the images (gif/jpg) or the scripts (.js files) loa