Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to recreate a Query page using jsp:usebean

 
Dip Patel
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI guys,
I have a jsp page which displays result in form of cases of a Case Query.Each case is linked to case details page.Case details page is an a HTML version of tabbed JSP page,which consists of many pages loading and unloading when clicking of different types of tabs takes place. Case details page has a link called " Back to Case Results", clicking on this user needs to go back to the Query Result page again.
Now I can not run Query again to get back to case results page as running query takes too long. Is there any way I could Display the case results page again without having to run Case Query again.
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what about storing the results in any way and keeping them linked to a session (f.e.) for the possible reviews?
 
matt hooker
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah - session is the way to go .. is it a result set you are getting back ? Or are you monkeying with this to return some other data-form - maybe an ArrayList or somesuch ... doesn't really matter. When you get the results back just do a session.setAttribute("results", your_result_data_object) be that a ResultSet Obj or whatever. Then you can grap the data out of this whenever you want to.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic