I am seeing double executions of my actions on a single form submit

2002-11-08 Thread david . fields
When I submit my forms I am seeing my debug code in my Actions execute 
twice.  I'm only clicking the button 1 time.  I'm trying to determine why 
this might be hapening.  Has anyone experienced this double post problem 
and did you find a solution?

I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7




Re: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Richard Yee
David,
How are you submitting the form? Are you using an image button or a regular 
submit button? I had a similar problem once using IE w/ an image button.

-Richard

At 09:38 AM 11/8/2002 -0600, you wrote:
When I submit my forms I am seeing my debug code in my Actions execute
twice.  I'm only clicking the button 1 time.  I'm trying to determine why
this might be hapening.  Has anyone experienced this double post problem
and did you find a solution?

I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7




--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




RE: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Xavier Combelle
To avoid double post problem,
from a double click of the user or from IE,
you can use the Token functionnality of struts
This functionnality seems not be documented,
but I described it in a previous mail to the mailing list
wih subject :
Did not found doc about Tokens

 -Message d'origine-
 De : Richard Yee [mailto:ryee;cruzio.com]
 Envoye : vendredi 8 novembre 2002 16:47
 A : Struts Users Mailing List
 Objet : Re: I am seeing double executions of my actions on a single form
 submit


 David,
 How are you submitting the form? Are you using an image button or
 a regular
 submit button? I had a similar problem once using IE w/ an image button.

 -Richard

 At 09:38 AM 11/8/2002 -0600, you wrote:
 When I submit my forms I am seeing my debug code in my Actions execute
 twice.  I'm only clicking the button 1 time.  I'm trying to determine why
 this might be hapening.  Has anyone experienced this double post problem
 and did you find a solution?
 
 I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7



 --
 To unsubscribe, e-mail:
 mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-user-help;jakarta.apache.org


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




I am seeing double executions of my actions on a single form submit

2002-11-08 Thread david . fields
I figured out the problem with the double post.  It was caused by an 
html:image struts tag that did a javascript to call form.submit().  The 
button called it once and then the javascript called it after that.  I 
changed it to be an 
A href=javascript:form.sumbit()html:img/a and now it works as 
expected.

Thanks For your Help.



David,
How are you submitting the form? Are you using an image button or a 
regular 
submit button? I had a similar problem once using IE w/ an image button.

-Richard


Re: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Benjamin Simpson
Yes, 

I saw the same problem with Weblogic 6.1 sp3, (both solaris and 
nt) + 5.5 and JBUILDER6.  I wrote it off to Jbuilder because of 
it's stability issues (will crash every now and then).

No image buttons, no javascript, nothing but submit, hit 
breakpoint twice.


Benjamin Simpson





 On Fri, 08 Nov 2002, Richard Yee ([EMAIL PROTECTED]) wrote:

 David,
 How are you submitting the form? Are you using an image 
button or a regular 
 submit button? I had a similar problem once using IE w/ an 
image button.
 
 -Richard
 
 At 09:38 AM 11/8/2002 -0600, you wrote:
 When I submit my forms I am seeing my debug code in my 
Actions execute
 twice.  I'm only clicking the button 1 time.  I'm trying to 
determine why
 this might be hapening.  Has anyone experienced this double 
post problem
 and did you find a solution?
 
 I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7
 
 
 
 --
 To unsubscribe, e-mail:   mailto:struts-user-
[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:struts-user-
[EMAIL PROTECTED]
 
 
 


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: I am seeing double executions of my actions on a single form submit

2002-11-08 Thread Sridhara S.N.
I think you have the submit statement in onClick event(javascript) of the
button, remove the submit statement.


- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 08, 2002 9:38 AM
Subject: I am seeing double executions of my actions on a single form submit


 When I submit my forms I am seeing my debug code in my Actions execute
 twice.  I'm only clicking the button 1 time.  I'm trying to determine why
 this might be hapening.  Has anyone experienced this double post problem
 and did you find a solution?

 I am using IE 5.5 SP2, TOMCAT 4.0.3, JBuilder 7




--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org