aspose file tools
The moose likes Struts and the fly likes Double invoking on Action in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Double invoking on Action in struts" Watch "Double invoking on Action in struts" New topic
Author

Double invoking on Action in struts

Jian Yi
Ranch Hand

Joined: Feb 01, 2002
Posts: 127
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
Bartender

Joined: Feb 26, 2001
Posts: 4118
    
    2

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

Joined: Sep 29, 2000
Posts: 8521
Moving to the Struts forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Double invoking on Action in struts
 
Similar Threads
Info while runing the WSDL2java as standalone application
Struts serialisation bedween the action
struts 1 form
[S2] Multiple files sent simulatneously with out.write() results in corrupted data streams
No getter method for property finame of bean org. apache. struts. taglib. html. BEAN