Re: Struts 2 actions executing twice

2008-10-16 Thread wskent
Finally figured this one out! I am using the YSlow plugin to Firefox and it is causing a second HTTP GET to gather information about the site. Thanks for the heads up on using the "Live HTTP headers" plugin to help catch this beast. aum strut wrote: > > well i did what you have mntioned in ur

Re: Struts 2 actions executing twice

2008-10-15 Thread aum strut
well i did what you have mntioned in ur post but still the problem was there action was exectued twice so i removed the javascript and it worked still i will look again what i did in order to solve this problem... On Thu, Oct 16, 2008 at 9:38 AM, Wes Wannemacher <[EMAIL PROTECTED]> wrote: > How

Re: Struts 2 actions executing twice

2008-10-15 Thread Wes Wannemacher
How were you submitting via JavaScript? I was just working on an app, and forgot (face-palm-style) that you do have to 'return false;' in an onclick handler for a form submission button... It's an old rule, I know, but if you forget, then your JS code will submit the form and your form will also be

Re: Struts 2 actions executing twice

2008-10-15 Thread aum strut
Hi, i faced this issue a lot while developing some sample application in which my action was getting called twice, but i was using javascript for submitting the action and when i removed javascript for submitting form the problem just disappears On Thu, Oct 16, 2008 at 3:07 AM, Dave Newton <[EMA

Re: Struts 2 actions executing twice

2008-10-15 Thread Dave Newton
--- On Wed, 10/15/08, wskent wrote: > This is happening with JavaScript turned off or on. It is > also happening in Tomcat 6. This behavior is not happening > in IE 7 on either Tomcat 6 or JBoss 4.2 . I am also seeing > this in a Struts 2.1.2 application running in JBoss 4.2 > with the Firefox 3

Re: Struts 2 actions executing twice

2008-10-15 Thread wskent
This is happening with JavaScript turned off or on. It is also happening in Tomcat 6. This behavior is not happening in IE 7 on either Tomcat 6 or JBoss 4.2 . I am also seeing this in a Struts 2.1.2 application running in JBoss 4.2 with the Firefox 3.0.3 browser. So far this looks like Firefox is

Re: Struts 2 actions executing twice

2008-10-15 Thread wskent
This behavior is consistent in Firefox with JavaScript off or on. wskent wrote: > > I am consistently seeing this behavior using Struts 2.0.11 in JBoss 4.2 > with Firefox 3.0.3. Including on a real simple prototype application with > no images on the page. > -- View this message in context:

Re: Struts 2 actions executing twice

2008-10-15 Thread wskent
I am consistently seeing this behavior using Struts 2.0.11 in JBoss 4.2 with Firefox 3.0.3. Including on a real simple prototype application with no images on the page. -- View this message in context: http://www.nabble.com/Struts-2-actions-executing-twice-tp19983781p20001159.html Sent from the

Re: Struts 2 actions executing twice

2008-10-15 Thread Paweł Wielgus
Hi Roger, do You have empty img tag on this jsp pages, a friend of mine found out that this might be the case. Ff downloads the page and then downloads the image data from the same address. Best greetings, Pawel Wielgus. On 15/10/2008, Roger <[EMAIL PROTECTED]> wrote: > On Wednesday 15 October 200

Re: Struts 2 actions executing twice

2008-10-15 Thread Roger
On Wednesday 15 October 2008 18:24:20 wskent wrote: > Thanks for the tip, I was using Firefox 3.0.3 when the actions were getting > executed twice. I am not seeing this behavior in IE 7.0.5730.11 . I'm glad that it's not just me that has seen this. It does'nt happen all the time, and only certain

Re: Struts 2 actions executing twice

2008-10-15 Thread wskent
Thanks for the tip, I was using Firefox 3.0.3 when the actions were getting executed twice. I am not seeing this behavior in IE 7.0.5730.11 . -- View this message in context: http://www.nabble.com/Struts-2-actions-executing-twice-tp19983781p19995859.html Sent from the Struts - User mailing list

Re: Struts 2 actions executing twice

2008-10-15 Thread Roger
On Wednesday 15 October 2008 01:54:50 wskent wrote: > I am using struts 2.0.11 in JBoss 4.2 and with a debugger I am seeing the > action executing twice. The first time the values submitted from the form > show up as expected. In the second execution the values are all null. I am > also seeing this