views:

20

answers:

1

Is there anyway to serve a file from a web server through the web, that is not within the web application.

I am using Tomcat and a Java servlets based application.

I don't want to put the files within the webapp because they are several 100GB and I will have to replace them every time I update the WAR if I put them inside it.

A: 

Apache web server can serve static files and delegate dynamic content requests to Tomcat.

Boris Pavlović
Thanks I'll look into this.
Ankur