File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes include  + forward question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "include  + forward question" Watch "include  + forward question" New topic
Author

include + forward question

Steven Colley
Ranch Hand

Joined: Feb 18, 2005
Posts: 290
Hi folks,

"Servlet A" forwards to "Servlet B", wich includes "Servlet C", wich forwards to "Servlet D", wich includes "Servlet E".

"A -> B <- C -> D <- E"

When "Servlet A" is requested , wich servlets might contribute to the final response??

have fun yourselves...let�s discuss it.

Tks.


SCJP | SCWCD | SCBCD | SCWSD 5 | SCEA (I) 1.4 | SCEA 5 | IBM SOA 669
shweta bulbule
Ranch Hand

Joined: Mar 24, 2006
Posts: 30
"Servlet A" forwards to "Servlet B"---> now in B
wich includes "Servlet C", wich forwards to "Servlet D"-->now in D
wich includes "Servlet E"-->now D+E

so the final servelet will be servlet D + contents of servlet E
i.e. ("D+E")

this was a funny questions, had fun thanks.


Thanks,<br />Shweta
Bhavna Jharbade
Ranch Hand

Joined: Sep 08, 2005
Posts: 69
Originally posted by Felipe Pittella:
Hi folks,

"Servlet A" forwards to "Servlet B", wich includes "Servlet C", wich forwards to "Servlet D", wich includes "Servlet E".

"A -> B <- C -> D <- E"

When "Servlet A" is requested , wich servlets might contribute to the final response??

have fun yourselves...let�s discuss it.

Tks.


Hi all
A forwards to B =>response has contents of B
B includes C => response has both B & c
C forwards to D => response will have D
D includes E => response will have D & E

So i think final response will include D & E.

Please correct me if i am wrong.

Thank you


SCJP1.4 (86%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: include + forward question