Tomcat Hot Deployment of Json Files
I have a Tomcat installation that serves 开发者_StackOverflow社区some Json files placed in "classes" folder of webapp folder. i need a way to make tomcat reload them after any changes cause it seems it reads them from a cache or something. it is not a production setting and is used for testing anyway. I managed to do it with management console of tomcat and with "Reload" button. but isn't it another way?
set attribute autoDeploy=true of host element in /conf/server.xml.
精彩评论