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 Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple jsp at any moment from parent

 
katyayan agrawal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends
How to fire/start multiple JSP's at any moment from the parent jsp ? Please give me the syntex.
To be more precise multiple JSP's will do seperate operation in parallel to each other, otherwise making it to act as a thread.
katyayan
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly are you trying to accomplish here? Only one response can be sent to the browser - why do you want multiple JSP?
Bill
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I ask William's same question? The question as understood (or more precisely NOT understood) by me makes no sense.
Maybe a better understanding of the Servlet/JSP architecture and problem domain will clear out beginners' doubts..?
 
katyayan agrawal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear William/Tony
Based on the input to a jsp(assume it as parent jsp),I am passing the input to 5 different jsps, doing 5 different operations. Now I want these 5 different operations to be done in parellel. With the existing rule in writing jsps to my knowledge we can include these 5 jsps one by one(serially).
What u r saying is right that only one response can be sent to browser, but the actual translation to servlet is happening at server side and 5 simultaneous processes can run simultaneously.
Instead of doing operation serially, I want to blast 5 jsp, so that processing time is reduced. JSPs will act as 5 different clients to jsp.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic