At line 17 of login.jsp
, there is the following line of code:
<form action="/login/submit" method="post">
What I can't determine is where Spring submits this form to.
In the corresponding LoginController.java
, I don't see any mapping to the URL '/login/submit
' such as this:
@RequestMapping(value = "/login/submit", method = RequestMethod.POST)
So how does Spring 3 know what to do with this form action?
UPDATE:
Found this here:
<form-login login-page="/login" login-processing-url="/login/submit" authentication-failure-url="/login/error" />