Posts by Vitor Gabriel Carrilho • 126 points
1 post
-
1
votes2
answers260
viewsA: Springmvc controller does not redirect to another controller
Probably the error is in if, when you compare the authenticate with == it compares the object reference, not the string content, and can return false: if (autenticar == "") { ...} Do not use == to…