User enters data in
jsp A which sends it to
servlet B which sends the new data along with the old data (kind of like updating a datagrid) to jsp C to display the data. Now everything is okay but if the user presses refresh a message saying "will need to resend data press ok to continue" or something like that is shown in the browser and a new record is added to the DB how can i handle the refresh issue. From what i understand is the servlet called the page using getrequestdispatcher and forwards the page so the url stays the same as that of jspA rite ???. Should i use sendredirect here will that solve the problem if so what abt the attributes of the response object servlet sends to jsp C they will be erased in case of sendredirect and i dont want to add them to session. Any suggestions ??