| Author |
histroy.go(-1) doesnt work
|
Ankita Jha
Ranch Hand
Joined: Sep 15, 2008
Posts: 55
|
|
Hello ranchers,
I m facing problem using history.go(-1) .
My main page is divided into 6 section .Each section is one iframe
When i click on link of one of the iframes a new page say abs.jsp is loaded.
This abc.jsp has back button which uses history.go(-1) .
First time history.go(-1) gives me the below pasted error
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
but from 2nd time it works properly.
I have changes the form's method from POST to GET.
can any one help me in this issue.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56230
|
|
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP. For more information, please read this.
This post has been moved to a more appropriate forum.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Ankita Jha
Ranch Hand
Joined: Sep 15, 2008
Posts: 55
|
|
|
please help
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6592
|
|
The description does not make sense. You cannot change a form's submit method.
The 2nd time does the page with 6 frames load up ?
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
Ankita Jha
Ranch Hand
Joined: Sep 15, 2008
Posts: 55
|
|
second time it loads properly with all 6 frames
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
POSTs use that message to prevent forms from submitting the smae information two times. Do you want to pay a bill twice online or buy tickets multiple times? No, the browser helps to prevent that. If it works with GET, why are you not using GET?
6 iframes? Does not sound like fun
Eric
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6592
|
|
|
The second back request probably loads the GET which got you through to the page with 6 iframes.
|
 |
Ankita Jha
Ranch Hand
Joined: Sep 15, 2008
Posts: 55
|
|
even after changing to get....
works in a very wiered fashion
first time i get error..and second time onwars
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
You clear your cache and than try?
Eric
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6592
|
|
first time i get error..and second time onwars
Post the error here
|
 |
Ankita Jha
Ranch Hand
Joined: Sep 15, 2008
Posts: 55
|
|
eric even after clearin the cookies,getting the same error.
Please find the error pasted belwo,
Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
To resubmit your information and view this Web page, click the Refresh button.
|
 |
 |
|
|
subject: histroy.go(-1) doesnt work
|
|
|