| Author |
Servlet Chaining
|
jyothi godavarthy
Ranch Hand
Joined: Jan 28, 2004
Posts: 135
|
|
Can anybody give me a good definition of Servlet Chaining along with an example, links to sites with this info are also welcome. Thanks in advance.
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
|
|
The term "Servlet Chaining" is out of date now. You should be looking for information on the Filter and FilterChain APIs and for RequestDispatcher forward and include processes. Bill
|
 |
Simon Brown
sharp shooter, and author
Ranch Hand
Joined: May 10, 2000
Posts: 1860
|
|
Maybe, but the term is still relevant. Typically a request comes in for a servlet, that servlet executes and pushes out a response, perhaps via a JSP. Servlet chaining is just used to describe the process whereby a servlet will do some work, then hand off processing to another servlet and so on. This is generally done with the RequestDispatcher include() and forward() methods. Even though many people now use web application frameworks such as Struts and WebWork, you can still achieve the same result by chaining together actions.
|
 |
venu sha
Greenhorn
Joined: May 07, 2004
Posts: 1
|
|
Originally posted by jyothi godavarthy: Can anybody give me a good definition of Servlet Chaining along with an example, links to sites with this info are also welcome. Thanks in advance.
hiiii, well in serv chaining we configure the servlet engine to do the chaining.During setup we specify the order in which these servlets are invoked.nad this non standard feature is not supported by most of the web containers today. ok
|
 |
Jeroen Wenting
Ranch Hand
Joined: Oct 12, 2000
Posts: 5093
|
|
Originally posted by Simon Brown: Even though many people now use web application frameworks such as Struts and WebWork, you can still achieve the same result by chaining together actions.
Which internally will have the framework chain servlets together as likely as not
|
42
|
 |
Sri Gnana
Ranch Hand
Joined: Apr 29, 2004
Posts: 166
|
|
Hi what's the difference between servlet chaining and filter chaining?
|
Thanks & Regards
Sri Gnana
Everythings Programmed!...
|
 |
 |
|
|
subject: Servlet Chaining
|
|
|