A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Click on back button problem
Joined: Sep 27, 2004
May 29, 2007 15:34:00
I have a
page, with two links:
Back - On this link, i have the history.back(-1) function.
If a user clicks on 'Help' and then clicks on 'Back', the control goes back to the Help page, instead of the previous jsp page.
Requirement is If the user clicks on 'Back', after clicking on 'Help', how can i clear the help page from the memory, to take the user back to the previous jsp page.
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Author and ninkuma
Joined: Jan 10, 2002
May 29, 2007 15:54:00
Rather than relying on hacks like history.back, your web app should create true links with complete URLs for all navigable items.
Asking smart questions
Books by Bear
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Click on back button problem
How can I get correct backto page?
controlling browsers back button
about using <META HTTP-EQUIV="pragma" CONTENT="no-cache">
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015