This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
have u set the "authenticate"'s attribute before the page? if you haven't...then it is because the command : if getAttribute("authenticate")== null will always return null value, so it wil continuously direct you to the same page over and over again ( due to the response.sendredirect command