Two Laptop Bag*
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
Author

Servlet Chaning

Jitendra Nehul
Greenhorn

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
Jitendra
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12792
    
    5
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.
Bill

------------------
author of:
 
wood burning stoves
 
subject: Servlet Chaning