If you look in login.jsp, there's a commented out line that shows you how to display more detailed error messages. However, you should be aware that telling users they entered the wrong password (but the username is valid) is a security risk.
Matt On 7/6/07, ujjala <[EMAIL PROTECTED]> wrote:
I have a action myaction where flows come when authenticatication(password checking) fails. But it shows only one message in login.jsp page that username or password is wrong. But i want different messages like if password expired it should show that password is expired. If account is locked then it should should show that account is locked etc. When authentication fails can we get the username in myaction because there is no formbean for login form. -- View this message in context: http://www.nabble.com/username-or-password-tf4035313s2369.html#a11463722 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]