My HTML question is as follows; I have a form that consists two fields. The contents of these fields are forwarded to another jsp page through the following code for database connection, and query purposes. The page that has form is suggestion.jsp, and the page that is forwarded through action is storesuggestion.jsp.
<form name="suggest" method='POST' action='storesuggestions.jsp'
onReset="BTReset();" onSubmit="return submitForm();">
Form is working fine. However, my problem is if the user refreshes the page after couple of minutes, the form recalls the previous values, which means database is updated again..
I tried to replace POST with GET but it didn't work. Any suggestions highly appreciated..
<form name="suggest" method='POST' action='storesuggestions.jsp'
onReset="BTReset();" onSubmit="return submitForm();">
Form is working fine. However, my problem is if the user refreshes the page after couple of minutes, the form recalls the previous values, which means database is updated again..
I tried to replace POST with GET but it didn't work. Any suggestions highly appreciated..