posted 10 years ago
hi all,
i am facing problem while redirecting for an request made using ajax. this is how i am redirecting
return new ModelAndView("redirect:../users/userLogin.html");
it works fine for normal http requests.
basically when exception is thrown in our application we are redirecting the user to login page. For ajax requests if exception is thrown above line is not redirecting to the login page.
regards,
pavn kumar.