Howdy, This is a tomcat-user, not tomcat-dev question, so please continue this discussion on that list if you wish.
The answer is fairly easy: you can invoke whatever you want by overriding the service method of a servlet. The default implementation looks at the HTTP method, e.g. GET, and invokes the corresponding service method, e.g. doGet. You would override service() to invoke whatever method you wanted based on the contents of the request/request headers. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Giuseppe Naccarato [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 20, 2004 11:32 AM >To: [EMAIL PROTECTED] >Subject: Tomcat and HTTP Extensions > >Hello, > >The method doGet of the HttpServlet class is invoked by tomcat when a >HTTP GET arrives from a client. I wonder if it is possible to configure >Tomcat in a way that if I implement some HTTP extension (let's say HTTP >SOMETHING) it invokes the method doSomething of a custom-class derived >from HttpServlet. > >Thanks > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]