• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Synchronous action call in struts...

 
Satyajit Bhadange
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
pete stein
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Duplicate thread deleted. Please let's stick with one thread on this topic.
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And I'll move it to our Struts forum.
 
Ankit Garg
Sheriff
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
Prakash Mani - Attur
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic