开发者

Tomcat Hot Deployment of Json Files

开发者 https://www.devze.com 2023-02-26 15:21 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消