sonia pandit wrote:
Does this mean that if I prevent caching, the double submit problem will be solved?
No, preventing caching has nothing to do with your problem.
When you refresh a webpage, the browser will ask the server for the page. If it was originally requested via POST method, the browser will send a POST request to the server for page, hence the problem. Now the solution is to Redirect the browser to another page using GET request, normally this page only displays result from the previous POST request, hence the
pattern name
Post-
Redirect-
Get (PRG Pattern). Have you tried the google link that I included in my previous post? You may want to ask JSF as another keyword as well.
Hope it help,
Duc