• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

include + forward question

 
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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.
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
reply
    Bookmark Topic Watch Topic
  • New Topic