Tomcat configuration in Eclipse

前端 未结 2 1510
野性不改
野性不改 2021-02-09 07:10

I\'m using Eclipse Luna with Tomcat 8 and am confused by the different locations of config files.

I\'ve installed Tomcat on my local machine and configured Tomcat in Ecl

2条回答
  •  被撕碎了的回忆
    2021-02-09 07:26

    Configuration files are stored in your workspace under a dedicated project (c).

    Original path catalina home (a) is the path where Tomcat libraries are. Configuration is not being read from there... this allows a different configuration for the Tomcat when it is being run by Eclipse.

    Catalina base (b) is a base path for work folders (temp and work) and also for deployed applications.

    And the path for deployed applications (d) is just a name of the directory within catalina base where your applications are being deployed.


    where do I configure my server for a specific application that I start from within Eclipse during development?

    You don't configure it in any file, but rather within Eclipse. Your application needs to be configured as a Dynamic Web Project to enable server deployment.

提交回复
热议问题