• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP Caching...

 
senthil nathan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a requirement that i should provide a button so that the user whenever clicks he should be able to switch to the page from where he came.Just a functionality of Toggling between screens.This i can do with the parameter passing and keeping track of the user from where he came from and then connecting to database.but i don't want to connect to database again.can i catch my JSP page somewhere so that when that button is clicked i'll get this JSP page.So that the connection to the database can be avoided.
Thanks in Advance.
 
Shoba Ramachandran
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean you want to go back one page...if this is what you are looking for use "javascript:history.back()" on your button onclick.

-Shoba
 
Justin Chu
Ranch Hand
Posts: 209
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jakarta taglib has this tag which enables caching on sections of a JSP page.. I thought that it should be really handy.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!