In my code below, if the validatedUser == true then I get stuck in a loop in that the method completes but then I come right back into the method yet again and again and... The page is never redirected to the index.jsp page. If the user is NOT validated the sendRedirect to the validationFailed.jsp page works great but if the user IS validated then again I'm just stuck in that the doFilter() is just executed repetitively.
The only thing that I can think of is that the REDIRECT for a validated user is the SAME as the URI. Is that issue? If so, how can I correct this?
I do not understand what am I doing wrong? If the user IS validated how can I just redirect this user to the "/CSC-ARXfer/faces/index.jsp" page? That is all I'm needing to do.
Any help/direction/suggestion would be greatly appreciated. Here is the code: