java - Tomcat not reflecting changes in folder which is hosted outside webapps -
i have folder @ d:\myapp
, hosted using tomcat myapp.xml
@ catalina\localhost
.
myapp.xml content
<context path="/myapp" docbase="d:/myapp"/>
it's working excepted, it's not working when new file written using ftp @ d:\myapp
, tried access using localhost:8080/myapp/newfile.png
.
but can access old files, after restarting tomcat once can able access newfile.png.
please suggest me solution.
Comments
Post a Comment