• Post Reply Bookmark Topic Watch Topic
  • New Topic

Double invoking on Action in struts  RSS feed

 
Jian Yi
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
This is my first time to use struts. My application has some weird behavior. When user first time submits the form, the Action class got invoked twice. It's like two identical Action threads running at the same time. The perform() method got run twice simultaneously.
I can't figure out whether it is caused by double posting of the form, or double invoking of the Action.
And after the first submission, it runs perfectly.
Can somebody shed some lights on it?
If you want, I can post my code out here.
Thanks,
Jenny
 
Junilu Lacar
Sheriff
Posts: 11435
176
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the URL you are using to invoke the Action, the relevant sections of struts-config.xml and your Action and ActionForm.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!