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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -