aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes history.go(-1) gives error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "history.go(-1) gives error" Watch "history.go(-1) gives error" New topic
Author

history.go(-1) gives error

paresh doshi
Ranch Hand

Joined: Nov 20, 2006
Posts: 81
I am having a back functionality in my jsp. I am using history.go(-1) but i get error on page.
"Warning: Page has Expired".

Is there any other way out to implement the back functionality without error.

Please help.


Thanks.<br />Paresh Doshi<br />SCJP 1.4
Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367
Are you using post or get?

If you change your form method from POST to GET then the problem should be fixed, although you may have to rework your code a bit.


SCJP1.4
 
jQuery in Action, 2nd edition
 
subject: history.go(-1) gives error