vardeep kaur wrote:Hi
I am using annotations based spring 3.0.
I want to go back to previous page on clicking "back" button.
I know we can achieve this using javascript.
But is there any method to do it with use of spring?
Regards
I think we are confused. Just hit the back button in you browser. Or do you mean a back button link you put on the page?
You could look at Spring Web Flow, if you back button would cause a problem because you are in a wizard like flow of web pages, called a conversation.
But if not, you just have your back button link point to the previous URL.
Mark