How to deploy war file to tomcat using command prompt?

后端 未结 8 881
慢半拍i
慢半拍i 2021-01-30 11:05

I have created a war file and put into tomcat/webapps. How to deploy a war file to tomcat using command prompt?

8条回答
  •  悲&欢浪女
    2021-01-30 11:40

    Using httpie you can upload and deploy the war.

    http --auth user:pass PUT http:///manager/text/deploy?path=/ < ROOT.war
    

提交回复
热议问题