• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Go to previous page using spring

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic