Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5AE2B10A38 for ; Thu, 27 Jun 2013 05:42:03 +0000 (UTC) Received: (qmail 44519 invoked by uid 500); 27 Jun 2013 05:42:01 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 44498 invoked by uid 500); 27 Jun 2013 05:42:01 -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 44490 invoked by uid 99); 27 Jun 2013 05:42:00 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 05:42:00 +0000 Received: from localhost (HELO mail-pb0-f47.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jun 2013 05:42:00 +0000 Received: by mail-pb0-f47.google.com with SMTP id rr13so426319pbb.34 for ; Wed, 26 Jun 2013 22:41:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=eoayJAII+b52M5HMSGqYbKFDoFct98Qp5t0AmKu+9OE=; b=pKznTOy24yJZ8mr9rkcsKz2rdoVUtqqdaj+5AJEtPgWH7WVrNRnJCv9fY7l7ccMnx3 Vbpo+RmnbOe7q32gW4MoyTY91jXJM8OOZvLuvJl7zasgY0x2xoFgL6hGJTYui+FPIhZN U5ZGTBPiYbzaruGhOdKo7q1wq/rxoAsF0QtjGY009Li0Ugn+wYAc1I0J7e7MQiY+covA yoixyoxUEIZQW78HxfNuhT3NrF6whXprPynNS9u2uFBNjWNMHZzdqYZ+PtUg5CX1gLQE SRgoapOxbt/VfAIHmKcwMeEP9f+ZCDtZ5ot3FVBTdz6/3hqKw3BfKxd4i3TEL8dOQ5Sp FGlQ== X-Received: by 10.68.108.163 with SMTP id hl3mr4266855pbb.160.1372311719805; Wed, 26 Jun 2013 22:41:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.52.103 with HTTP; Wed, 26 Jun 2013 22:41:39 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Thu, 27 Jun 2013 07:41:39 +0200 Message-ID: Subject: Re: intercepter parameters in actions To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Interceptors are singletons per stack - if you referencing them with interceptor-ref from within actions you are reusing the same instance. Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/6/26 Cameron Morris : > Hello Strut-ers, > > When I override an interceptor's parameter in several actions, only the > last action's parameters are applied. (Note I'm not referencing a stack, > but just one interceptor.) I was expecting that a separate interceptor wa= s > created for each action or that the param would be set before the action > was called. Here is an example: > > > > A > > > > > B > > > > > C > > > > When calling action1, action2, and action3 the "param" of "myInterceptor" > is always C. Is this expected behavior or is this bug? > > - Cam Morris --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org