aspose file tools*
The moose likes Struts and the fly likes Synchronous action call in struts... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Synchronous action call in struts..." Watch "Synchronous action call in struts..." New topic
Author

Synchronous action call in struts...

Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
hi,

I m developing a module ..where two actions of struts are involved of different classes. On main jsp i m calling fisrt action and after that the another action...but on server side two actions are called simultaneously..Is there any way i can handle the situation so that only after completion of one action other will be called


Thanks
user101
Problems And Solutions - Algorithms
pete stein
Bartender

Joined: Feb 23, 2007
Posts: 1561
Duplicate thread deleted. Please let's stick with one thread on this topic.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19696
    
  20

And I'll move it to our Struts forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9303
    
  17

How are you actually calling these actions in your JSP page?? Is it possible to make the 2nd request from the JSP only after the 1st request is complete or do you have to handle it on the server side??


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Prakash Mani - Attur
Ranch Hand

Joined: Oct 08, 2009
Posts: 100
send the request to 1st action class method, then forward the request to another action class's method... am i right? i mean did i understood you question properly?
but on server side two actions are called simultaneously

i do not know how its happening...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Synchronous action call in struts...