File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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: 755
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: 755
caught... there were multiple ajax div tags.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form getting submited multiple times + Struts 2.1 +Ajax