How to deploy a Java Web Application (.war) on tomcat?

后端 未结 5 1912
夕颜
夕颜 2020-12-01 12:13

I have a .war file of a Java Web Application. Now I want to upload it to my ftp server so that I can execute it.

What steps I should perform to run it?<

5条回答
  •  被撕碎了的回忆
    2020-12-01 12:40

    The tomcat manual says:

    Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way.

提交回复
热议问题