Hello Fea,

fea jabi wrote:

When I click on the Refresh on the toolbar of the browser, I am seeing that it tries to execute this Add method, and adding one more row.

why is that? How to prevent the same?


In general it is a good practice to redirect instead of forwarding to the view after making database changes. This is called the "Redirect after post" pattern (well, if i can call it that), see [1] .

[1] http://www.theserverside.com/articles/article.tss?l=RedirectAfterPost

hth

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to