File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 61103
    
  66

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]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Servlet Chaining