This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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.