Thank you all for the responses. I'll take a look at it.
From: Emmanouil Batsis <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: calling DispatchAction when clicked Refresh on Browser
Date: Thu, 09 Feb 2006 18:26:47 +0200
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]
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]