This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes Back Button For JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Back Button For JSP" Watch "Back Button For JSP" New topic
Author

Back Button For JSP

praneel shah
Greenhorn

Joined: Mar 16, 2010
Posts: 17
I am working on jsp and servlets with spring and struts framework and hibernate....now what the thing is i want a back button through which user can navigate thru all jsp.
i have used that struts method with page forward but everytime the jsp is not same because user may navigate from any page to any page .... and with struts i can code for only 1 particular jsp and ii dont want that....none of javascripts are help....can anyone tell me how to resolve my problem?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what you're trying to describe. Are you asking for a "go back through the user's history during this visit" button?
praneel shah
Greenhorn

Joined: Mar 16, 2010
Posts: 17
yep
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60763
    
  65

Sounds like what you really need is a breadcrumb trail.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
praneel shah
Greenhorn

Joined: Mar 16, 2010
Posts: 17
how to implement that? hearing it for the first time bro
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

praneel shah wrote:how to implement that? hearing it for the first time bro

Sounds like you need to search for how to implement breadcrumb trail.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60763
    
  65

"bro"?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60763
    
  65

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Back Button For JSP
 
Similar Threads
How to ByPass the validation framework
Page expired error when browser back button is hit
I want two buttons on a page, one for "search refine", one for "submit", how to do ?
Back button behaviour
How to disable back button in jsp page using js