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 9325C109EE for ; Thu, 10 Oct 2013 08:33:27 +0000 (UTC) Received: (qmail 50943 invoked by uid 500); 10 Oct 2013 08:33:19 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 50897 invoked by uid 500); 10 Oct 2013 08:33:13 -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 50880 invoked by uid 99); 10 Oct 2013 08:33:10 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Oct 2013 08:33:10 +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, 10 Oct 2013 08:33:10 +0000 Received: by mail-pb0-f47.google.com with SMTP id rr4so2201083pbb.20 for ; Thu, 10 Oct 2013 01:33:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=AQSRMew+vYrosSON1OZRzd3Jp76cicfY8a6SkfgdrWg=; b=AC6uVxaW0oHn68/vaekTRodN8KYExWwnbJIyBiFwl9Apy52sV5pDeTGjNdu4UK0Yzq 9f+CLe1alS16uhSxd6k/kc/hf3Jcm1hRGploxwCaDeKMkgELtAaIag18GUt0YsvP8K2g 9GjKMe3zsBKVELyFmjsLaTJoW2ZzutO8rxAIbp0MZPwjon9WyNDp1Hphd6L2+U0GMHU+ mWKFda7GfQPegDENKNi3tmI8Hlv7HaBkQch/fTBYIbQyrh/SRSjkkFGPsawyZrPb7Bm3 WKp3HnmTZF+u9LZcOxbrnny+UQjfz7iqaRCv1Av5cqZXvk2wnWwBt2E3paL4Jsu2jBlg Rk9w== X-Received: by 10.66.249.231 with SMTP id yx7mr14329268pac.116.1381393989242; Thu, 10 Oct 2013 01:33:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.20.169 with HTTP; Thu, 10 Oct 2013 01:32:49 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Thu, 10 Oct 2013 10:32:49 +0200 Message-ID: Subject: Re: Set parameter for both params interceptors in paramsPrepareParamsStack To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It should work as you reference the same instance (interceptors are instantiated per stack), maybe it is something else? Maybe try copy paramsPrepareParamsStack and redefine excludeParams? Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/10/9 Dmytro Kostiuchenko : > Hi all. > > I'm new to struts2 and may miss something obvious, indeed need someone > to help me. > > I have an application with the following interceptors stack applied by de= fault > > > > > > ...,token > > > > AUTOMATIC > > > > When in dev mode I see many ERROR entries in log like this one: > > Error setting expression 'token' with value ['...', ] > > The problem here is that referred paramsPrepareParamsStack has 2 > 'params' interceptors, > but 'excludeParams' parameter is set only for the first one. And the > second one retains defaults. > > > > > > > > > ... > > > > > > > > > > ... > > > > input,back,cancel,browse > > > input,back,cancel,browse > > > > Is there any way to set interceptor parameter for multiple > interceptors having the same name? > > Thanks in advance. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org