The war package is a Web archive that makes the Web project a war package that can be copied directly to the Web server publishing directory (such as the Tomcat Server WebApps directory), which is automatically decompressed when Tomcat is started, and the war package facilitates the publishing of Web projects, So how do you make a Web project a war package in eclipse?
1, there are the following Venus works:
2, the mouse selects the Venus Project and clicks the right mouse button, appears the following figure:
3, the mouse arrow slide to the export option-->export ..., click "Export ...", show the following figure:
4, click on the "Web" node above, get the following figure:
5, select the above figure "WAR file" child node, and then click "next>" button, get the following figure:
6. Click the "Browse ..." button in the morning to select the location of the war file, and then click the "Finish" button to make the Web project a war file.