aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet chaining" Watch "Servlet chaining" New topic
Author

Servlet chaining

chandra shekhar
Greenhorn

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
Hi,
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.
Thanks
Ravinder S Edhan
Ranch Hand

Joined: Dec 15, 2003
Posts: 57
Hi,

Read this post .... it has every thing for you.
http://www.coderanch.com/t/360209/Servlets/java/Servlet-Chaining

Cheers
Ravinder
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Use Filter instead.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet chaining