• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet Chaning

 
Jitendra Nehul
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic