Is it possible to use apache tomcat server as a http file server >
I have installed apache tomcat server on my machine for hosting some servlets. Now I want to put some files on this server so that user can download these files straight away. My question is is it possible to do this ? I mean can apache tomcat se开发者_StackOverflow社区rver act as a http server as well ? If yes, in which directory in tomcat server I should put these files ?
Please help,
Several pointers (from Google):
http://denis-zhdanov.blogspot.com/2009/08/configure-tomcat-static-content.html
Stackoverflow: How to serve static content from tomcat
Enable the file listing in conf/web.xml and then delete all the files in webapps/root directory and replace it with the files you want to transfer.
The below link could be helpful
https://www.youtube.com/watch?v=pJPOBKLYZYY
精彩评论