How to make a web project in Eclipse into a war package

  The war package is a web archive file. The web project can be converted into a war package and can be directly copied to the web server publishing directory (such as the Tomcat server webapps directory). When Tomcat starts, the compressed file is automatically decompressed, and the war package facilitates the release of web projects. Then How to make a Web project into a war package in Eclipse?

          1. There are the following venus projects:

          2. Select the venus project with the mouse and click the right mouse button, the following figure appears:


          3. Slide the mouse arrow to the Export option -> Export..., click "Export...", the following figure appears:


          4. Click the "Web" node in the above figure to get the following figure:


          5. Select the "WAR file' sub-node in the above figure, and then click the "Next>" button to get the following figure:


          6. Click the "Browse..." button in the morning to select the save location of the war file, and then click the "Finish" button to convert the Web project into a war file.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325556687&siteId=291194637
Recommended