Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Implementing back functionality

 
dnyan ginde
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i implement back functionality using struts? I dont want to use history.back() of javascript. When i click the back button on my screen i should be able to go to the previous page and if that previous page has a back button too then i must be able to go to its subsequent prior page.
 
Pavan Tummala
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
2 ways :
hard code the url
always grab and save the url from the request and use it on back button
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic