Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes action called twice in IE 8 when using different ajax submit for the same form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "action called twice in IE 8 when using different ajax submit for the same form" Watch "action called twice in IE 8 when using different ajax submit for the same form" New topic
Author

action called twice in IE 8 when using different ajax submit for the same form

will zhang
Ranch Hand

Joined: Sep 11, 2008
Posts: 46
Here is the form from my jsp page:


When using firefox, it works fine. When using internet explorer, the form is submitted twice for the same action.
Example: if the user clicks "Release", public String releaseContract() will be executed twice.

I saw other's form was submitted twice mostly likely because of Javascript, but obviously this case is different.

Thanks!
 
Consider Paul's rocket mass heater.
 
subject: action called twice in IE 8 when using different ajax submit for the same form