From tomcat-user-return-87945-apmail-jakarta-tomcat-user-archive=jakarta.apache.org@jakarta.apache.org Thu Jan 01 22:27:23 2004 Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 94764 invoked from network); 1 Jan 2004 22:27:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Jan 2004 22:27:23 -0000 Received: (qmail 18822 invoked by uid 500); 1 Jan 2004 22:26:54 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 18238 invoked by uid 500); 1 Jan 2004 22:26:50 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 18224 invoked from network); 1 Jan 2004 22:26:50 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 1 Jan 2004 22:26:50 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AcBHM-00011s-00 for ; Thu, 01 Jan 2004 23:26:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-user@jakarta.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AcBHL-00011i-00 for ; Thu, 01 Jan 2004 23:26:55 +0100 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AcBHK-0007ju-00 for ; Thu, 01 Jan 2004 23:26:54 +0100 From: "Bill Barker" Subject: Re: Interceptors in Tomcat 3.x Date: Thu, 1 Jan 2004 14:38:59 -0800 Lines: 27 Message-ID: References: <3FF3E76B.1050904@india.adventnet.com> X-Complaints-To: usenet@sea.gmane.org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Interceptors do the same kind of work in TC 3.x as Valves do in TC 4.x, but they are structurally very different. Also, I haven't worked with TC 3.2.x in a very long time (since TC 3.3.x no longer has the RequestInterceptor interface). One suggestion is to extend BaseInterceptor instead of implementing RequestInterceptor. This way you don't have to worry about how to implement the methods you don't care about. Otherwise, buy 'doesn't work' do you mean that Tomcat doesn't load your Interceptor, or that some method doesn't seem to be getting called? "arunkumar" wrote in message news:3FF3E76B.1050904@india.adventnet.com... > Hai , > I need some details on the Interceptors in Tomcat 3.x servers. > Whether the Interceptors in 3.x is same as Valves in 4.x . > Is it possible to configure our own interceptors to find the processing > time for a request.I tried writing a Interceptor class by implementing > the RequestInterceptor interface and made an entry for the > RequestProcessor in the server.xml file.But it doesn't works. > > > Regards, > Arun kumar --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org