Try this instead: ${sessionScope.SPRING_SECURITY_LAST_EXCEPTION.message}
Matt On Wed, Apr 29, 2009 at 12:15 AM, sudhakargupta < sudhakargupta_s...@hotmail.com> wrote: > > Hi Matt, > > Presently I just want to display the message to user if the account is > not enabled while login, i removed the comments of the below code in jsp > but > it doesn't show any error message. > ${sessionScope.SPRING_SECURITY_LAST_EXCEPTION_KEY.message} > <fmt:message key="errors.password.mismatch"/> > > and it shows the password.mismatch error what i'm using in the previous > code. > > Actually in appfuse 1.9 i removed the comments in login page like this type > of code then it will displays account is not enabled type of errors but it > is not works in appfuse 2 > > can you please suggest me how to solve this problem. > > --Sudhakar > > ----- > --- > Sudhakar > -- > View this message in context: > http://www.nabble.com/how-to-display-account-not-enabled-error-while-login-tp23291154s2369p23291154.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > >