This is my @RequestMapping
annotation:
@RequestMapping({\"/loginBadCredentials\", \"/loginUserDisabled\", \"/loginUserNumberExceeded\"})
public
you can inject the HttpServletRequest into the method-parameters and then get the called uri.
@RequestMapping({"/loginBadCredentials", "/loginUserDisabled", "/loginUserNumberExceeded"})
public String errorLogin(HttpServletRequest request) {
String uri = request.getRequestURI();
// do sth with the uri here
}