aspose file tools*
The moose likes Servlets and the fly likes multiple jsp at any moment from parent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "multiple jsp at any moment from parent" Watch "multiple jsp at any moment from parent" New topic
Author

multiple jsp at any moment from parent

katyayan agrawal
Greenhorn

Joined: May 05, 2001
Posts: 11
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

Joined: Mar 22, 2000
Posts: 12806
    
    5
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

Joined: Jan 30, 2000
Posts: 3222
    
    5
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..?


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
katyayan agrawal
Greenhorn

Joined: May 05, 2001
Posts: 11
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.
 
jQuery in Action, 2nd edition
 
subject: multiple jsp at any moment from parent