A Dynamic Web Project exists.
...
1. In the Project Explorer, select the Dynamic Web Project.
2. In the context menu, choose New → Servlet.
3. Throughout the wizard pages, enter the servlet settings as required.
To access the servlet, you need to add servlet mapping. If you have not added mapping, you can be able to request the servlet via its class name after you set the value of the EnableInvokerServletGlobally property of servlet_jsp service to true. This applies for development mode only. In production mode, this property must be set to false and you have to create appropriate mapping for the servlet.
4. Chose Finish.