17.08.2011 - By default, if no login form is specified, Spring Security will create a default login form let Spring handle it, we just handle the successful or failed page to display. taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> . setViewName("admin"); return model; } //Spring Security see this .