Hi Ding Lei:

Use a redirect instead of a forward and that will solve your problem..

Geeta

> -----Original Message-----
> From: Ding Lei [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 12, 2004 9:38 AM
> To: Struts Users Mailing List
> Subject: Browser's refresh problem
> 
> 
> Hi all,
> 
>   There's a UserAddAction, which adds the user record to the 
> database, and
> when it's done it redirects the user index page. the problem 
> is that everytime
> the user clicks refresh at the user index page, the same 
> record is added
> again.  
> 
>   I know that unique check is required, but I also hopes that 
> action itself
> should be aware of the user's "Refresh".
> 
>   Thank you.
>   
> 
> -- 
> Layman <[EMAIL PROTECTED]> Ext: 8059
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to