Right-click on the project's name and click on build.
Click on Files, or press Ctrl+2, to navigate to the File structure of the project.
Expand the project node by double-clicking on the project's name.
Right-click on build.xml.
Select Run Target.
On Run Target's sub menu, click on dist.
The Output panel will show the path in which the WAR file is placed.
Deploying the WAR file
Copy the WAR file and paste in the the webapps folder of your apache tomcat installation (may be‘C:\\apache-tomcat-6.0.32\\webapps’) folder
Then start the tomcat server by double clicking startup.bat file of your apache tomcat installation (may be‘C:\\apache-tomcat-6.0.32\\bin\\startup.bat’)
This will deploy and redeploy the all WAR files inside the webapps folder
If the deployment is successful, when you run the project it will display the “Hello World” output (when you enter following URL)