This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet chaining" Watch "servlet chaining" New topic
Author

servlet chaining

Balu Ramachandran
Greenhorn

Joined: Oct 16, 2000
Posts: 16
hi friends,
i have doubt regarding servlet chaining.
what is servlet chaining?
how to triggering?

can any body please explain this with examples,
thanks,
with regards,
R.Balu
Bangalore.

R.Balu
Kavita Ghia
Ranch Hand

Joined: Oct 10, 2000
Posts: 91
Hi Ballu,
Servlet chaining is a process of sending the output of one servlet to another servlet which is its input.i.e. the request from the client browser is send to the first servlet in the chain and the response from the last servlet in the chain is returned to the browser.In between the output from each servlet is piped to the next servlet and in the process u can midify the content to be sent at any given point of time till the response has not been sent back to the browser.
Some of the uses of servlet chaining are:
1)One can quickly change the appearance of a page,a group mof pages,or a type of content.
2)Can embed custom tags in your page and have a servlet replace them with the Html content.
3)Can serve unsupported image types by converting them to the standard jpeg or gif type.
I hope this might satisfy your query to some extent.bye.

Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Servlet Chaining was an old technique, implemented in Sun's Java Web Server, but not part of the Servlet Specification. Although it is theoretically useful, in practice the complications usually outweigh the advantages. The upcoming version 2.3 of the Servlet specification now supports "filters" which are a much mors powerful, flexible and controllable version of the same basic concept.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlet chaining
 
Similar Threads
servlet chaining
Cleared SCWCD with 89%
servlet chaining
Servlet Chaining
Servlet Chaining