wood burning stoves*
The moose likes Struts and the fly likes Form getting submited multiple times + Struts 2.1 +Ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Form getting submited multiple times + Struts 2.1 +Ajax" Watch "Form getting submited multiple times + Struts 2.1 +Ajax" New topic
Author

Form getting submited multiple times + Struts 2.1 +Ajax

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
Hi,

I am trying to submit form using ajax.

i am using struts 2.1 & tiles.

but my form is getting submited multiple times. i am not able to figure out. Please help me on the same.

bellow is my form which makes the ajax call



as i am using tiles <d: head tag is placed in the layout form.

Bellow is my layout form.



Thanks


Jigar Naik


vishwa venkat
Ranch Hand

Joined: Nov 22, 2003
Posts: 185
can you try with
loadingText="false"
Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 753
caught... there were multiple ajax div tags.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Form getting submited multiple times + Struts 2.1 +Ajax
 
Similar Threads
need help with s:radio tag, display in a very strange way
STRUTS2 Tabbed interface problem with Tiles tag in IE6
struts2 + Tiles, why pages shrink in top center ?
ajax code injected by ajax request using sx:bind does not work in struts 2.2
tabbedpanel not working within tiles page in struts2.1.6