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
Author and all-around good cowpoke
posted 15 years ago
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