Hi Tom,
Do not use method call to display the results after submitting ( e.g.,
after inserting a record) ... Try to redirect to the results page so
that it will not call the method again when you refresh the page.
Hope this will solve your problem..
Aravind.
-----Original Message-----
From: Tom John [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 09, 2000 1:52 AM
To: [EMAIL PROTECTED]
Subject: Re: BROWSER PROBLEM AGAIN!!!!!!!!!!!!!
Hi,
This problem is there not only in a piece of code but with my entire
project. For eg a piece of code which writes to the database works with
no
problem ,but by anychance if I press Browser back button(once press
this the old values still exists)and submit the value it gives the
following
error.
SQLExeception caught :GeneralError. I think this error comes when we try
to
insert a tuple which already
exists.
The other problem is, if we do not press the browser back button it
handles
the above duplicate values
properly.
Early reply very much appreciated.
TOM
>> :GeneralError
At 12:43 PM 12/31/99 +0530, you wrote:
>Could u be little more specific ? Or u can send me the entire code, it would
be
>helpful for me to detect the fault.
>
>Moloy
>
>Tom John wrote:
>
>> Hi,
>>
>> In my project (client server/web based project) the client accesses the
>> remote database and the program works
>> with no problems but the problem is if by anychance the client pressses the
>> "BROWSER BACK BUTTON" and then
>> submits the forms it gives SQL exception error( SQLExeception caught
>> :GeneralError). Simply what this all about is that once presses the browser
>> back button it wan't refresh the values of the previous form. Any ideas
>> or suggestions about this please.
>>
>> TOM
>>
>> ___________________________________________________________________________
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>> of the message "signoff SERVLET-INTEREST".
>>
>> Archives: http://archives.java.sun.com/archives/servlet-interest.html
>> Resources: http://java.sun.com/products/servlet/external-resources.html
>> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
>--------------------------------------------------------------
>SREI INTERNATIONAL FINANCE LTD., CALCUTTA, INDIA
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html