This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet chaining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet chaining" Watch "Servlet chaining" New topic

Servlet chaining

chandra shekhar

Joined: May 17, 2005
Posts: 1
Can any give me example of servlet chaining?
I want both the program of the chain, one who is othere and the other who actually serving the service..
anupa oru
Ranch Hand

Joined: Jan 15, 2005
Posts: 118
According to my knowledge, servlets chaining is the process of serving request with group of servlets. For example 1st servlet process part of request and then forwarded that request to second servlet via RequestDispatcher.forward method,where second servlet process part of remaining request and this chain goes on till request is served.
Ravinder S Edhan
Ranch Hand

Joined: Dec 15, 2003
Posts: 57

Read this post .... it has every thing for you.

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Use Filter instead.
I agree. Here's the link:
subject: Servlet chaining
It's not a secret anymore!