My version of the dynamic web module is 3.0, and tomcat is my version of tomcat 7.0 .
I do not know why it cannot see my XD servlet when I go to the localhost: 8080 / SimpleProject page .
When I go to localhost: 8080 / SimpleProject / firstservlet , I get the error message the requested resource is not available!
Here is my servlet:
@WebServlet(description = "the first servlet", urlPatterns = { "/firstservlet" }) public class FirstServlet extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
I did nothing in my web.xml, because what I know is in version 3.0, the URL is displayed in the servlet.

This is my file location :) 
Fh
source share