Explain Servlet Chaining ?
Answers were Sorted based on User's Feedback
Answer / guest
servlet chaining is a technique in which two or more
servlets can cooperate in servicing a single request.
in servlet chaining,one servlet's output is piped to the
next servlet's input.This process continues until the last
servlet is reached.It's output is then sent back to the
client.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / keshav
servlet chaining is also called as servlet to servlet communication. we apply chaining in following two ways.
1.when we devide one servlet logic into multiple servlets.
2.when we want to include one servlet response into another servlet.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is servlet and list its types?
What is the difference between JspWriter and PrintWriter
What is forward() and include() of servlets RequestDispatcher interface?
How can you push data from an Applet to a Servlet?
In howmany ways applet-servlet communication can be done?
In which cases Destroy() is invoked?
what is OOAS
What are some disadvantages of storing session state in cookies?
How can the session in servlet can be destroyed?
can we override service method in my servlet class..?? if yes or no why ??
What is a servlet-to-servlet communcation?
What is the process for chaining servlet?