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.
there are 2 ways: 1. add a ActionMessage() to your Globals.MESSAGE_KEY (where ActionMessages are stored (if you don't know how to do this, you need to look it up)
2. throw an exception that is of type/extends java.lang.Exception upon failed validation and map the exception to an action/jsp that states login failed (ideally, it should return the user to the same login form). again, you need to know how to configure struts to handle exception thrown.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>