estou tentando acessar minha pagina de login esta dando erro 404, segue o codigo:
poderiam me ajudar ?
package br.com.alura.gerenciador.web;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import br.com.alura.gerenciador.Usuario;
import br.com.alura.gerenciador.dao.UsuarioDAO;
@WebFilter(urlPatterns = "/login")
public class Login extends HttpServlet {
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String email = req.getParameter("email");
String senha = req.getParameter("senha");
Usuario usuario = new UsuarioDAO().buscaPorEmailESenha(email, senha);
PrintWriter writer = resp.getWriter();
if (usuario == null) {
writer.println("<html><body>Usuario invalido</html></body>");
} else {
writer.println("<html><body>Usuario Logado" + email + "</html></body>");
}
}
}