• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Go back functionality in jsp

 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have requirement that user wants to go back to previous page, then instead of clicking browser back button we must provide a link to previous page.

How can we use this?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Links are created using the <a> tag.
 
Simpson Kumar
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Beer,

I know about a tag, but how we can go for the previous and disabling browser back button
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sumant kuchipudi:
how we can go for the previous and disabling browser back button
That's not what you originally asked. And no, you can't disable the browser buttons. And how rude would it be if you could!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One tactic you could use to try and encourage people to use your in-app controls rather than the browser controls is to use window.open() to launch your app in a window without all the browser chrome.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic