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.
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.
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