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 Chaning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Chaning" Watch "Servlet Chaning" New topic

Servlet Chaning

Jitendra Nehul

Joined: Jan 01, 2001
Posts: 3
Hello Everybody,
I would like to know what is servlet chaning and what is difference between it and session tracking. Reply soon.

Thanxs with regard
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Servlet chaining has nothing to do with session tracking. The idea was that the output of one servlet would be fed as input to another .. etc etc until finally the response went to the user.
One rather silly example turned every character to upper case.
I don't think servlet chaining turned out to be very practical.
Instead we have design patterns such as a servlet that receives a request and dispatches it to another servlet or JSP after analyzing what is needed.
The next Servlet API uses "Filters" to accomplish what servlet chaining was expected to do.

author of:
I agree. Here's the link:
subject: Servlet Chaning
It's not a secret anymore!