How can I daisy chain servlets together such that the output of one servlet serves as the input to the next?
There are two common methods for chaining the output of one servlet to another servlet : ï‚· the first method is the aliasing which describes a series of servlets to be executed ï‚· the second one is to define a new MIME-Type and associate a servlet as handlers As I don’t really use the second one, I’ll focus on the aliasing. To chain servlets together, you have to specify a sequential list of servlets and associate it to an alias. When a request is made to this alias, the first servlet in the list is invoked, processed its task and sent the ouptut to the next servlet in the list as the request object. The output can be sent again to another servlets. To accomplish this method, you need to configure your servlet engine (JRun, JavaWeb server, JServ …). For example to configure JRun for servlet chaining, you select the JSE service (JRun servlet engine) to access to the JSE Service Config panel. You have just to define a new mapping rule where you define your chaining servlet. Let say /
There are two common methods for chaining the output of one servlet to another servlet : • the first method is the aliasing which describes a series of servlets to be executed • the second one is to define a new MIME-Type and associate a servlet as handlers As I don’t really use the second one, I’ll focus on the aliasing. To chain servlets together, you have to specify a sequential list of servlets and associate it to an alias. When a request is made to this alias, the first servlet in the list is invoked, processed its task and sent the ouptut to the next servlet in the list as the request object. The output can be sent again to another servlets. To accomplish this method, you need to configure your servlet engine (JRun, JavaWeb server, JServ …). For example to configure JRun for servlet chaining, you select the JSE service (JRun servlet engine) to access to the JSE Service Config panel. You have just to define a new mapping rule where you define your chaining servlet. Let say /serv
Related Questions
- In this FAQ you say that a Daisy Chain between DMX Input and / or Output Stations will result in a ‘non-compliant’ network. But the bid documents and/or bid drawings show a daisy chain?
- How can I daisy chain servlets together such that the output of one servlet serves as the input to the next?
- Whats the difference between input and output modules?