This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
EJB and other Java EE Technologies
redirect to someother page for an request made using ajax.
Joined: Jan 01, 2013
Jun 05, 2013 07:24:37
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)
Have you checked out
subject: redirect to someother page for an request made using ajax.
SessionTimeOut Handler with Ajax
Siteminder session timeout - AJAX response issue
JAAS in AJAX mode
struts: redirect to reqested page after successfull login
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015