Question - What are the uses of Servlet chaining?
Answer -
Given below are some of the use cases of Servlet chaining:
- Change how a group of pages, a single page, or a type of content appears quickly
One can talk to those who don’t understand a particular language by dynamically translating the text from the pages to the language that can be read by the client. One can keep away certain words that one doesn’t want others to read.
- Display in special formats a kernel of content
For instance, one can add custom tags within a page, and then a servlet can replace these with HTML content.
- Support for the esoteric data types
For instance, one can provide a filter that converts nonstandard image types to GIF or JPEG for the unsupported image types.