• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Navigate back and forth in JSP pages

 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic