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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet Chaining" Watch "Servlet Chaining" New topic
Author

Servlet Chaining

Presi Prashanth
Greenhorn

Joined: Jan 12, 2006
Posts: 1
Hi..

I'm new to this. I've learnt theoritically that a servlet chain is when response of one servlet is passed on to the other servlet.. and so on, to form a chain. I seen examples which show me only one servlet. How is a servlet chain accomplished ? Can any one give me material or link to servlet chain with a programmed example?

Please

Thanks in advance

P-R-E-S-I
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Check out the forward() method of RequestDispatcher.

Btw, the term "chaining" is no longer really in use, supplanted by the term "forwarding".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet Chaining