Spring redirecting back to referrer

Posted by Eqbal on Stack Overflow See other posts from Stack Overflow or by Eqbal
Published on 2010-05-17T22:50:32Z Indexed on 2010/05/17 23:10 UTC
Read the original article Hit count: 408

I have some resources in my application that require redirection to another resource (form) if some context information is not set. After the context gets set (requires two user steps), I need to redirect back to the requested resource. How do I achieve that. I am using annotation based controllers in Spring 3. Is org.springframework.security.web.savedrequest.HttpSessionRequestCache of any use.

© Stack Overflow or respective owner

Related posts about spring

Related posts about spring-mvc