Take the 2-minute tour ×

Is there anyway to server 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.

share|improve this question
Look at stackoverflow.com/questions/417658/… –  Casual Coder Feb 5 '11 at 18:11

1 Answer 1

If you have the web-server fronting the Tomcat install then it is quite doable, just don't serve the files from the same Location has the Tomcat instance is running. Not so sure about Java, though again, if you have a web-server fronting the servlet instead of serving directly from Java itself that kind of redirection is quite possible.

share|improve this answer

Your Answer


