Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 6205 invoked from network); 27 May 2009 16:48:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 May 2009 16:48:12 -0000 Received: (qmail 71620 invoked by uid 500); 27 May 2009 16:48:21 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 71572 invoked by uid 500); 27 May 2009 16:48:21 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 71562 invoked by uid 99); 27 May 2009 16:48:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 16:48:21 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.222.132] (HELO mail-pz0-f132.google.com) (209.85.222.132) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 16:48:11 +0000 Received: by pzk38 with SMTP id 38so2590288pzk.23 for ; Wed, 27 May 2009 09:47:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.134.20 with SMTP id h20mr353507wad.71.1243442868778; Wed, 27 May 2009 09:47:48 -0700 (PDT) In-Reply-To: <8e3bcb0c0905270518l1769b90aua06cc9bc556c26a5@mail.gmail.com> References: <8e3bcb0c0905270518l1769b90aua06cc9bc556c26a5@mail.gmail.com> Date: Wed, 27 May 2009 12:47:48 -0400 Message-ID: Subject: Re: Interceptor Trouble From: Wes Wannemacher To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Wed, May 27, 2009 at 8:18 AM, Jim Collings wrote: [snip] > > Here is the relevant portion of the xml: > > > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 class=3D"com.eds.xxx.web.admin.UidInterceptor"/> > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 > =A0 =A0 > > Clues anyone? =A0I can see the init() being called in the logs but I > never see intercept. > Do you have any actions in that package? Your interceptor should be run, but only against actions in that package (xxx). Also, your interceptor is last in your stack, so things like validation failure can keep it from firing. -Wes --=20 Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org