Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 30984 invoked from network); 3 Oct 2002 16:39:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Oct 2002 16:39:36 -0000 Received: (qmail 19869 invoked by uid 97); 3 Oct 2002 16:00:19 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 19067 invoked by uid 97); 3 Oct 2002 15:59:56 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 17688 invoked by uid 98); 3 Oct 2002 15:59:30 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Thu, 03 Oct 2002 10:57:22 -0500 From: Eddie Bush Subject: Re: Wrapping the controller? To: Struts Users Mailing List Message-id: <3D9C68E2.7090601@swbell.net> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513 References: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N David Graham wrote: > Sounds like the best idea to me. ... unless you're on a container supporting servlet spec 2.3 :-) In that case, use a filter ;-) and be independent of Struts and compliant with any server you choose to run on. > The servlet delegates processing to its RequestProcessor so it makes > sense to subclass the RequestProcessor instead of the servlet. > > I think it would be pretty easy to add the logging. Override a > processor method put a logging statment in, call super.process*(). > > Dave -- Eddie Bush -- To unsubscribe, e-mail: For additional commands, e-mail: