The CRUD application works for one table perfectly but when I copy in the code for the second table, it doesn't allow me to use the same WebServlet annotation, I have tried declaring the servlet in the brackets but no luck.
WebServlet("/")
public class EventServlet extends HttpServlet {