What does form-login tag does in spring
<p>I am developing a web application with spring security.In web-security-context.xml I found this,</p>

<pre><code>&lt;form-login login-page="/timeres_login"
            authentication-failure-url="/timeres_login?login_error=1"
            default-target-url="/userlogin"  
</code></pre>

<p>timeres_login.jsp is the logging page, there username and password can be entered.When username and password are not matched /timeres_login?login_error=1 url is shown.And also when they are matched /userlogin url is shown.Simply this works correctly.
Now I want to change the login page to adminLogin.jsp and for that I changed timeres_login to adminLogin but still it works for timeres_login and not working for adminLogin.
Is my understanding with <code>&lt;form-login /&gt;</code> tag incorrect? or Should I do any other thing to make this work?</p>