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

后端 未结 5 1920
夕颜
夕颜 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:41

    Log in :URL = "localhost:8080/" Enter username and pass word Click Manager App Scroll Down and find "WAR file to deploy" Chose file and click deploy

    Done

    Go to Webapp folder of you Apache tomcat you will see a folder name matching with your war file name.

    Type link in your url address bar:: localhost:8080/HelloWorld/HelloWorld.html and press enter

    Done

提交回复
热议问题