How to make WAR file in Eclipse

Following steps need to be followed to create WAR file in Eclipse.

Step 1: Right click on the project and go the property option


Image  

Step 2: Go for the tomcat option


Image  

Step 3: Go for the �Export to the WAR Setting� tab and click on the browse button to select the destination directory


Image  

Step 4: Select the directory and give the name of the WAR file.


Image  

Image  

Step 5: Now right click on the project and go for the �Tomcat Project->Export to the WAR file sets in project properties� for exporting the WAR file.


Image  

猜你喜欢

转载自xiaxingwork.iteye.com/blog/1680783
今日推荐