This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
if login successful it goes to respective pages...but if login failed it has to show me alert message...
how can i do that ?? please help me friends...
A common way of dealing with this is to redirect to a different page based on the success/failure of validation. What happens now when you click on the login button? Hopefully it goes to a servlet that can perform this logic.