I send a post request to the server, which inturn returns a JSP. Now if i use the refresh button of the browser, i get a confirmation to resubmit the data, and then the page reloads successfully.
However, when i try to refresh the page using javascript, i dont get any confirmation box, and the reload also doesnt work. Ive tried all methods of reload like :
- location.reload()
- window.location.reload()
- window.location.href = window.location.href
- history.go(0);
I think the problem is that its sending a get request when i try to refresh using javascript, and it is not able to find the necessary paramaters.
This problems occurs only in chrome... it works in Firefox and IE!!