On Mon, 2006-11-06 at 13:52 -0800, Uday Karrothi wrote:
> Hi guys,
> 
> When i press a button for Exmaple. 'ADD',
> When i press the Button 'ADD' the values of the element 'X' are passed and
> the form is submitted.
> 
> One emlement 'X' of ArrayList A is added to ArrayList B.
> 
> When i Refresh teh page now, the operation is done  again.In ArrayList B i
> have two elements of 'X'.
> 
> I store the action to be performed and the elements value in the form bean.
> So in the action clas i access them and perform the operation. So when the
> user press "Refresh" from the browser, the same values exist in the form
> bean and the action class performs the same action again.
> 
> 
> Has anybody had this problem? I am not sure what i can do not to repeat the
> action.

Uday,

Take a look at this article.

http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost

Chris

-- 
Christopher D. Goldman
[EMAIL PROTECTED]



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

Reply via email to