Eclipse + Tomcat - Serve webapp directly from workspace

后端 未结 9 684
旧时难觅i
旧时难觅i 2021-02-04 10:13

What is the ideal way to configure Tomcat to serve directly from my project\'s directory inside of my workspace? (related)

I want my static web resources

9条回答
  •  梦如初夏
    2021-02-04 11:04

    I do not want to come off as promoting anything, but Netbeans IDE supports all of these out of the box, no plugins necessary, it also includes a pre configured tomcat;

    It supports copying static resources on save, so there is no need to rebuild your whole application:

    enter image description here

    As for any java changes, if you are in debug mode there is an Apply Code Changes button, which will rebuild and deploy your changed files (assuming no structural changes were made)

    or alternatively use JRebel (for deploying changed java files) which has excellent features

提交回复
热议问题