Calling servlet results in HTTP Status 404 “The requested resource is not available” [duplicate]
This question already has an answer here: Servlet returns “HTTP Status 404 The requested resource (/servlet) is not available” 8 answers I have a servlet register in class p1 . I have a JSP jsp1.jsp . I run JSP file and see it, but when I try to apply to the servlet, Tomcat shows an error: HTTP Status 404 The requested resource (/omgtuk/Register) is not available. Servlet: @WebServlet("/register") web.xml: <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee