Register / Login
Win a copy of
Mesos in Action
this week in the
EJB and other Java EE Technologies
redirect to someother page for an request made using ajax.
posted 3 years ago
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.
(I have moved it springs section)
SessionTimeOut Handler with Ajax
Siteminder session timeout - AJAX response issue
JAAS in AJAX mode
struts: redirect to reqested page after successfull login