If your action submits a form, pressing reload will attempt to submit the
same form. It's not a Struts problem. 

Ted Husted's tips used to have something about using a putting a token in
your action that stops multiple submissions. We did it here, but I wasn't
the guy, so can't help more, sorry : )

http://husted.com/struts/tips/index.html

-----Original Message-----
From: Robert S. Sfeir [mailto:[EMAIL PROTECTED]]
Sent: Friday, 21 February 2003 9:35 AM
To: Struts Users Mailing List
Subject: Re: No Redirects in Struts 1.1?


hum, David does that also affect ANY redirect set when set in the  
<forward> element of an action?

I've noticed that if I specify redirect="true", and I get 'redirected'  
to a page after form submit and I click the reload button, it actually  
inserts a new record in the DB!

I've been trying to figure out if I'm missing something or if it's  
actually a bug!  (using 1.1b3)

Thanks


On Thursday, Feb 20, 2003, at 17:09 US/Eastern, David Graham wrote:

> You can build from source if you want but it's easier just to download  
> a nightly binary.
>
> David
>
>
>
>> From: Micael <[EMAIL PROTECTED]>
>> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>> Subject: Re: No Redirects in Struts 1.1?
>> Date: Thu, 20 Feb 2003 13:53:25 -0800
>>
>> How does that work, David?  I take it that we need to build the  
>> framework from scratch with a nightly?  Are each of the nightlies  
>> such that they will work?  Or, is it catch as catch can?  Do you have  
>> any idea when the beta will be updated to include this fix?
>>
>>
>>
>> At 02:49 PM 2/20/03 -0700, you wrote:
>>> There was a bug with absolute url redirects but it has been fixed.   
>>> Try one of the recent nightlies.
>>>
>>> David
>>>
>>>
>>>
>>>> From: Micael <[EMAIL PROTECTED]>
>>>> Reply-To: "Struts Users Mailing List"  
>>>> <[EMAIL PROTECTED]>
>>>> To: [EMAIL PROTECTED]
>>>> Subject: No Redirects in Struts 1.1?
>>>> Date: Thu, 20 Feb 2003 13:38:51 -0800
>>>>
>>>> Is there no way to redirect to an offsite url in Struts 1.1?  If  
>>>> so, I am not sure that the new features are much better than a bug.
>>>>
>>>>
>>>> LEGAL NOTICE
>>>>
>>>> This electronic mail  transmission and any accompanying documents  
>>>> contain information belonging to the sender which may be  
>>>> confidential and legally privileged.  This information is intended  
>>>> only for the use of the individual or entity to whom this  
>>>> electronic mail transmission was sent as indicated above. If you  
>>>> are not the intended recipient, any disclosure, copying,  
>>>> distribution, or action taken in reliance on the contents of the  
>>>> information contained in this transmission is strictly prohibited.   
>>>> If you have received this transmission in error, please delete the  
>>>> message.  Thank you
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------- 
>>>> -
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>> _________________________________________________________________
>>> The new MSN 8: smart spam protection and 2 months FREE*
>>> http://join.msn.com/?page=features/junkmail
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>
>>
>>
>> LEGAL NOTICE
>>
>> This electronic mail  transmission and any accompanying documents  
>> contain information belonging to the sender which may be confidential  
>> and legally privileged.  This information is intended only for the  
>> use of the individual or entity to whom this electronic mail  
>> transmission was sent as indicated above. If you are not the intended  
>> recipient, any disclosure, copying, distribution, or action taken in  
>> reliance on the contents of the information contained in this  
>> transmission is strictly prohibited.  If you have received this  
>> transmission in error, please delete the message.  Thank you
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.   
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> 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]

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

Reply via email to