From user-return-219231-archive-asf-public=cust-asf.ponee.io@struts.apache.org Tue Jan 29 08:43:46 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 1E8F0180625 for ; Tue, 29 Jan 2019 08:43:45 +0100 (CET) Received: (qmail 52931 invoked by uid 500); 29 Jan 2019 07:43:44 -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 52914 invoked by uid 99); 29 Jan 2019 07:43:44 -0000 Received: from mail-relay.apache.org (HELO mailrelay2-lw-us.apache.org) (207.244.88.137) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jan 2019 07:43:44 +0000 Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by mailrelay2-lw-us.apache.org (ASF Mail Server at mailrelay2-lw-us.apache.org) with ESMTPSA id C2A382DCB for ; Tue, 29 Jan 2019 07:43:43 +0000 (UTC) Received: by mail-io1-f41.google.com with SMTP id x6so15792740ioa.9 for ; Mon, 28 Jan 2019 23:43:43 -0800 (PST) X-Gm-Message-State: AJcUukc05EEntWsdWm7bxLjXgXwCDBgUEo3xdVEWTUurUyhtbEc170xV 3sQyhxZHuO+fb+K+VPg5t6kC1I34dxK45oIQNLc= X-Google-Smtp-Source: ALg8bN72aYqZxyqiE00THs489j8ndvz6flW6r9wYb7e2rsPRe91rXz+gbQ6CZgBGPvNwAC0NZsNvZ/BbY77CpWJC/nM= X-Received: by 2002:a6b:da10:: with SMTP id x16mr14383582iob.101.1548747823086; Mon, 28 Jan 2019 23:43:43 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Lukasz Lenart Date: Tue, 29 Jan 2019 08:43:32 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Migration struts.xml to Convention Plugin - Struts 2.5.20 To: Struts Users Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable sob., 26 sty 2019 o 01:19 developer researcher napisa=C5=82(a): > > Hello, > > I want to migrate a web application based on struts.xml to use annotation= s, > but I have not found documentation and/or examples for the next cases: > > *1. * > > How should be the @Action (?) Annotation be for the default action? @Action("defaultAction") > *2. Global Exception Handling* > > The documentation of convention plugin include exception mapping for acti= on > level and class level, but How should global exceptions and results be > configured? You can only configure this in struts.xml 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