How to deploy external webapp in tomcat?

前端 未结 1 1991
刺人心
刺人心 2020-12-10 03:18

Could anyone answer my question, please?

I\'d like to deploy a web application folder

C:\\app\\myapp

to Tomcat6.x instead of havin

相关标签:
1条回答
  • 2020-12-10 04:19

    You should create a myapp.xml file for this app and place it in %TOMCAT_HOME%\conf\Catalina\localhost.

    The file looks something like this:

    <Context displayName="myapp" 
         docBase="C:/app/myapp"
         path="/myapp"
         reloadable="true" />
    
    0 讨论(0)
提交回复
热议问题