Instead of chaining servlets, why not look at filters, whose specific purpose is to work on a chain. There is even some talk of switching struts over from a servlet to a filter in a later release.
Jacob | -----Original Message----- | From: Reynir H�bner [mailto:[EMAIL PROTECTED]] | Sent: Thursday, January 16, 2003 1:29 PM | To: Tomcat Users List | Subject: RE: Servlet channing | | Some people would recommend to you that you look into struts, which is an | web-application framework. | | Servlet chaining in it's most simple way is a servlet that forwards the | request to another servlet. This can be achived by using the | RequestDispatcher, be aware that using the RequestDispatcher may slow your | application down a little bit because (I've heard) it's not fully | optimized in tomcat. | | I wrote servlet-chaining mechanism, it was not hard to do, so I recommend | that if this is something you really think you need, you should write your | own servlet chianing API. | | -reynir | | | > -----Original Message----- | > From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] | > Sent: 16. jan�ar 2003 18:29 | > To: Tomcat Users List | > Subject: Re: Servlet channing | > | > | > | > | > On Thu, 16 Jan 2003, nitin mandolkar wrote: | > | > > Date: Thu, 16 Jan 2003 05:45:12 +0000 (GMT) | > > From: nitin mandolkar <[EMAIL PROTECTED]> | > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> | > > To: [EMAIL PROTECTED] | > > Subject: Servlet channing | > > | > > | > > How to achive servlet channing with tomcat | > | > Servlet chaining (in the manner you describe) is not | > supported by the servlet spec. However, you can accomplish | > something very similar using filters instead (Tomcat 4.x or later). | > | > Craig | > | > | > | > -- | > To unsubscribe, e-mail: | > <mailto:tomcat-user-> [EMAIL PROTECTED]> | > For | > additional commands, | > e-mail: <mailto:[EMAIL PROTECTED]> | > | > | | -- | To unsubscribe, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> | For additional commands, e-mail: <mailto:tomcat-user- | [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
