Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D444200CD6 for ; Mon, 31 Jul 2017 11:47:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3BD0D164D3E; Mon, 31 Jul 2017 09:47:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7FFB6164D38 for ; Mon, 31 Jul 2017 11:47:11 +0200 (CEST) Received: (qmail 81294 invoked by uid 500); 31 Jul 2017 09:47:10 -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 81276 invoked by uid 99); 31 Jul 2017 09:47:09 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2017 09:47:09 +0000 Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id CA53D1A02C0 for ; Mon, 31 Jul 2017 09:47:08 +0000 (UTC) Received: by mail-oi0-f49.google.com with SMTP id e124so218740349oig.2 for ; Mon, 31 Jul 2017 02:47:07 -0700 (PDT) X-Gm-Message-State: AIVw112mjYPDySi0iCg+nYW5th/3M73W5SKPTEtDb+H0QHHZSSfYaRk6 WcqXhTunBe9NG9yoyFxxPBPq1qjpGA== X-Received: by 10.202.199.74 with SMTP id x71mr14593277oif.94.1501494426430; Mon, 31 Jul 2017 02:47:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.106.137 with HTTP; Mon, 31 Jul 2017 02:46:45 -0700 (PDT) In-Reply-To: <7557114f-e2ec-1c08-f2c5-99310f8f18d8@gmx.at> References: <7557114f-e2ec-1c08-f2c5-99310f8f18d8@gmx.at> From: Lukasz Lenart Date: Mon, 31 Jul 2017 11:46:45 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Setting interceptor param on package level To: Struts Users Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable archived-at: Mon, 31 Jul 2017 09:47:12 -0000 2017-07-29 10:26 GMT+02:00 Norbert Harrer : > Hi. > > A question just out of curiosity. Is it possible to set an interceptor > parameter on the package level. > > For example I have a couple interceptor stacks more or less like this: > > > > > > > true > ERROR > > > > > I want the Parameters for the ExceptionMappingInterceptor to be present i= n > all interceptor stacks: > > true > ERROR > > Is it possible to set them somewhere just once on a global or package lev= el? You should be able to create a basic interceptors stack and use it in your other stacks, so you can configure all the parameters in the basic stack. Regards --=20 =C5=81ukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org