I want to get what the user will type with request.getParameter
and compare it with a String and if the value that the user type is equal to the string, the user will be redirected to the page but this is not happening. >
String login = request.getParameter("login");
String senha = request.getParameter("senha");
if(login=="Felipe_Massa_10" && senha=="felipemassa1010"){
RequestDispatcher rd=request.getRequestDispatcher("/CadastroProdutos.jsp");
}