aspose file tools*
The moose likes JSP and the fly likes Go back functionality in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Go back functionality in jsp" Watch "Go back functionality in jsp" New topic
Author

Go back functionality in jsp

Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
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?


Thanks,
Kumar
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61199
    
  66

Links are created using the <a> tag.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Simpson Kumar
Ranch Hand

Joined: Mar 19, 2008
Posts: 261
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

Joined: Jan 10, 2002
Posts: 61199
    
  66

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

Joined: Jan 10, 2002
Posts: 61199
    
  66

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Go back functionality in jsp