Linux command for extracting war file?

前端 未结 5 616
借酒劲吻你
借酒劲吻你 2020-12-23 14:03

How can I extract a .war file with Linux command prompt?

5条回答
  •  清酒与你
    2020-12-23 14:39

    A war file is just a zip file with a specific directory structure. So you can use unzip or the jar tool for unzipping.

    But you probably don't want to do that. If you add the war file into the webapps directory of Tomcat the Tomcat will take care of extracting/installing the war file.

提交回复
热议问题