How to create Dynamic Web Project in Eclipse

 Step 1: Create Dynamic Web Project

  • Open Eclipse
  • Go to File menu, go to New and click on Dynamic web project. 
    • File > New > Dynamic Web Project (One popup will get open)
            


  • Enter Project Name, Select Dynamic web module version as per your requirement and click on Next button.

  • Click on Next Button in next page.
  • Click on Generate web.xml deployment descriptor check box and click on Finish button.





 Step 2: Run Project

  • Once project created, go to src > main > webapp folder and add index.html file.




  • Right click on project > Click on Run As and select Run on Server.


  • One popup will display, select server and click on Finish button.
  • Open Browser and open the below given url - 
    • http://localhost:8080/Demo/


Comments

Post a Comment