Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why page has been expired without take more time after page opened ?

 
pmani kandan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai

i am developing project using jsp,servlets.i got a problem in page
expired .jsp for only view purpose . servlete processing the data(query execution ). database records are get through request.getAttribute(),and setAttribute method .why this was come.

further explain ny problem .first i give the search data . ts response some list of records i can display some format. then this list of records have hyperlink.when we click this link it will show the reports .after i saw this report i press the back button . it shows the page has been expired refresh your form . then i refesh this page it can show the list. but i need without refresh ,i press the back button .it will show the list of records .so , if anybody have an idea please reply immedietly.

thank you.
 
Vijayendra V Rao
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For your back button, try:

history.go(-1);
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34178
340
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pmani,
Whether the page gets cached locally depends on several factors. First, check you don't have any meta tags dealing with caching. GET requests are more likely to get cached than POST requests. There are several server settings that affect caching too.

Vijayendra, history.go(-1) and other javascript solutions are equivalent to the back button. If one doesn't work, neither will the others.
 
pmani kandan
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for ur reply

ur answer is correct .But i am in report form so cannot use any back button for this page .only way i came through browser back button . so, if i am click a back button in browser it will ask refresh ur page .after i refreshing the page it will submit the form and display the values
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic