File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Servlet Chaining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Chaining" Watch "Servlet Chaining" New topic

Servlet Chaining

Presi Prashanth

Joined: Jan 12, 2006
Posts: 1

I'm new to this. I've learnt theoritically that a servlet chain is when response of one servlet is passed on to the other servlet.. and so on, to form a chain. I seen examples which show me only one servlet. How is a servlet chain accomplished ? Can any one give me material or link to servlet chain with a programmed example?


Thanks in advance

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Check out the forward() method of RequestDispatcher.

Btw, the term "chaining" is no longer really in use, supplanted by the term "forwarding".

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Servlet Chaining
It's not a secret anymore!