• Post Reply Bookmark Topic Watch Topic
  • New Topic

Navigate back and forth in JSP pages  RSS feed

 
Raj Puri
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two JSP pages:

PAGE A: It has data from that consists of only certain fields as
table(multrow, one row each record). By clicking(selecting) a row user goes to page B.
PAGE B: It has data for the row selected in Page A.

I am trying to find way I can go back to Page A once I am on Page B. I do npot want to re-query page A. Is it possible? It is standard clinet-server application we ar redoing in JSP. Only solution I know of is to save
the data in cookie or session variable and repopulate the page when you want to go back, but that is requery/redrawing etc.


Any expert advise on this.

Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could cache the data from page A in session and rebuild the page with that data instead of pulling it from the database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!