--- a/src/java/de/uapcore/lightpit/HomeServlet.java Sun Nov 26 16:51:57 2017 +0100 +++ b/src/java/de/uapcore/lightpit/HomeServlet.java Sun Nov 26 18:09:23 2017 +0100 @@ -32,10 +32,18 @@ import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; +import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; +/** + * Entry point for the application. + */ +@WebServlet( + name = "HomeServlet", + urlPatterns = {"/", "/home"} +) public class HomeServlet extends HttpServlet { private String jspPath(String filename) {