Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
In the above code, the login page is defined as /loginDisplay.spring . We can configure /loginDisplay.spring as welcome-file in web.xml .We need to return login page in our controller. suppose login.jsp page. In the login.jsp ,<form> "action" attribute value should be /loginForm.spring. We don't need to write a controller method with @RequestMapping(loginForm). Here the url goes to spring security and checks whether the user credentials are correct or not and dispatches the request to /loginSuccess.spring if correct, otherwise it goes to same page with errors i.e, /loginDisplay.spring/error.
The only thing that kept the leeches off of me was this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss