[ajug-members] Tomcat serving static content

Igor Tovstopyat-Nelip igor.tn at gmail.com
Fri Sep 14 09:48:01 EDT 2007


Hi all,

I am working on the web app which has to show images that have just been
uploaded. In fact, there are other media types (like audio) as well that are
uploaded and should be reachable through the web site immediately, but let's
focus on images.

Currently, we have only Tomcat as a server for the dev environment, no
Apache web server in front of it. The strange problem I'm seeing is that the
newly uploaded images are not immediately available until the whole
application is redeployed.

Now questions:

1. Is this a normal Tomcat behavior? Are there any settings that can push
the newly uploaded images to show on the web site without redeployment?
2. Or, this can only be fixed by putting the Apache web server in front of
Tomcat to serve static content?
3. What about Apache APR (Apache Portable Runtime) bundled with Tomcat? Can
this be a good alternative to running the Apache Http + Tomcat combo from
the perspective of serving static content?

Thank you,
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20070914/0e24313a/attachment.html 


More information about the ajug-members mailing list