This week's book giveaway is in the Android forum. We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line! See this thread for details.
I have used hibernate.
What is the possible solution for this, so that after the alert, the page stays on login.jsp or forwards to login.jsp after the alert, rather than moving forward to the login servlet, I tried request dispatcher but then it did not show the alert and moved to login.jsp again.