I want to know the directory structure for using servlet 3.0 with Tomcat 7. I have used annotation @WebServlet without initialization parameters.
I want to know what is
This is all you need in web.xml:
web.xml
3.0-compatible servlet container (like Tomcat 7) will find @WebServlet automatically.
@WebServlet