I am creating a new dynamic web application in Eclipse. It is creating a folder called "WebContent" under the application root directory and under it is the WEB-INF directory. However, when I see the sample applications under tomcat installation, I see they have WEB-INF directly under the root folder.
I am unable to see my deployed application in Tomcat. I am getting a 404 error
The project directory in Eclipse is the source/working directory, it is not the deploy directory. Have you created a Tomcat server within Eclipse? If so, add your project to the Tomcat server - then when your app is published the correct files (essentially the contents of the webcontent directory plus the compiled classes) are deployed to Tomcat.