Jun 13, 2012

(How To) Create a Dynamic Web Application in Eclipse

1) In the project explorer area, right click and select "New->Dynamic Web Project"
Click on Image to Enlarge
2) Enter a name for the project. Lets have it as "sampleappln" & click on "Next"

Click on image to Enlarge
3) Edit the "Default Output Folder" to "WebContect/WEB-INF/classes" & click on "Next"
Click on Image to Enlarge
4) Select the "Generate the web.xml deployment descriptor". The web.xml is optional now, but lets have it as it is easy to understand a web-application just by going thorough the web.xml file. Click on "Finish" when done
Click on Image to Enlarge
5) The Dynamic web project gets generated and its folder structure will be as follows:
Click on Image to Enlarge


No comments:

Post a Comment