Originally posted by William Brogden:
"Servlet Chaining" is an old term - I think the preferred approach now is to use the "FilterChain" Interface to control passing request and response between servlets. FilterChain was introduced in version 2.3 of the servlet API.
Originally posted by Austin Hoffman:
I believe that using ServletContext.getServlet() is also servlet chaining.
Using RequestDispatcher to forward the request to another servlet is however a preffered mechanism...
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton