views:

12

answers:

1

I have multiple Tomcat servers. In each tomcat I am loading all images. I want to move the images from Tomcat to Apache and access the images from there.

My question is: is there any configuration to get the images in a Java web application from Apache instead of Tomcat?

+1  A: 

I don't think so - images are shown by resolving their URL, and in most cases it is relative to the current page.

But you can use mod_proxy (or mod_jk) to use all your tomcats through Apache.

Bozho