Results 1 to 2 of 2

Thread: "not empty param.login_error" not working

  1. #1

    Default "not empty param.login_error" not working

    Hi Guy,

    For the login page if the user information is invalid it should pass the message into login page however the following code unable to work but when I try put the SPRING_SECURITY_LAST_EXCEPTION.message not under the not empty param.login_error it able to show, can anyone pin point me what happen or got something that I need configure?

    <c:if test="${not empty param.login_error}">
    <table align="center">
    <tr>
    <td><font color="red"> Your login attempt was not successful, please try again.</font></td>
    </tr>
    <tr>
    <td><font color="red">Reason: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />. </font></td>
    </tr>
    </table>
    </c:if>

  2. #2

    Default

    not empty param.login_error this param is wrong the correct should be not empty param.error because this result is depend from the url

    please close this topic, thank you

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •