Quando eu chamo uma url que fica dentro de uma classe Java, o retorna é sempre 404. Já fiz de tudo e não achei o problema. Obs: Se eu chamo um http://localhost:8080/gerenciador/x.html tenho o retorno.
URL: http://localhost:8080/gerenciador/teste
@WebServlet(urlPatterns="/teste")
public class TesteServlet extends HttpServlet {
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        // TODO Auto-generated method stub
        response.getWriter().append("Served at: ").append(request.getContextPath());
    }
} 
             
            