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

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


How to make WAR file in Eclipse 

Step 2: Go for the tomcat option


How to make WAR file in Eclipse 

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


How to make WAR file in Eclipse 

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


How to make WAR file in Eclipse 

How to make WAR file in Eclipse 

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.


How to make WAR file in Eclipse 

相关文章: