This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Form getting submited multiple times + Struts 2.1 +Ajax

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
vishwa venkat
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you try with
loadingText="false"
 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
caught... there were multiple ajax div tags.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic