• 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

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

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 195
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For your back button, try:

history.go(-1);
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic