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 22A3D1042B for ; Tue, 27 May 2014 06:21:59 +0000 (UTC) Received: (qmail 32312 invoked by uid 500); 27 May 2014 06:21:58 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 32273 invoked by uid 500); 27 May 2014 06:21:58 -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 32261 invoked by uid 99); 27 May 2014 06:21:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 06:21:58 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of adsn37@gmail.com designates 74.125.82.45 as permitted sender) Received: from [74.125.82.45] (HELO mail-wg0-f45.google.com) (74.125.82.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 06:21:53 +0000 Received: by mail-wg0-f45.google.com with SMTP id m15so8744434wgh.28 for ; Mon, 26 May 2014 23:21:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=B6lC3MV4xIJ/z63R+G4TajFWdhAqnyVy1MOnBSS/OP0=; b=TXuNYKTfVntmO19GxpH/9+slkA8/kN9+57+bhqbA9W9xXRNW/eR5ScTnqqxW9dRkIf h+NGWejkGZh+nKA9rAEGzLuVB4QLkHAqtEVlFz16PMxBDstnGoHNX6uUtKUmVY8anEtK C6Y5WNSNW3KWYjIttzySvI+Ip3Lk6dU5WyQr6YiMhj840/4Dgs9y2U8eQxL58u/baIvl aF1Mk9fyBFXt4YJNljgClt2h5YGqkUH/KwGovsWR5ALtpz1G0in/0vPCp7h74qeC7S1r 9NebsaOsQpXM4iEUZ81DjrPDy4jRvDnYlPLwol9lZdVbU1mzc9aTDtWEZIzeEuVYCxyG +wmQ== X-Received: by 10.180.11.9 with SMTP id m9mr34603678wib.51.1401171690073; Mon, 26 May 2014 23:21:30 -0700 (PDT) Received: from [192.168.0.56] (143.93.14.37.dynamic.jazztel.es. [37.14.93.143]) by mx.google.com with ESMTPSA id mw4sm5627017wib.12.2014.05.26.23.21.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 May 2014 23:21:29 -0700 (PDT) Message-ID: <53842EE7.2060102@gmail.com> Date: Tue, 27 May 2014 08:21:27 +0200 From: =?UTF-8?B?QW50b25pbyBTw6FuY2hleg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Default action method for unmatched wildcard actions References: <537F0DAA.60400@gmail.com> <53830C4C.8040502@gmail.com> <5383652D.7080202@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org El mar 27 may 2014 08:04:48 CEST, Lukasz Lenart escribió: > > 2014-05-26 18:00 GMT+02:00 Antonio Sánchez : >> >> That's not working for me. >> >> OK: /person -> com.myapp.actions.PersonAction#execute (SUCCESS) -> >> person.jsp >> >> FAILS: /person-edit -> com.myapp.action.PersonAction#edit -> >> person-edit.jsp >> (FAILS even annotating with @Action) > > > Hm... right, I'm a bit confused I was sure it supposed to work :\ I believe that is not a Conventions feature, but would be great to be. > >> >> INSTEAD:/person-edit -> NO ACTION METHOD CALLED -> person-edit.jsp >> DIRECTLY >> >> However: >> >> OK: /person-edit -> com.myapp.action.PersonEditAction#execute >> (SUCCESS) -> >> person-edit.jsp >> >> It seems only "execute" method is able to be found and run, even using >> @Action annotation: /person-edit is matching >> PersonEditAction#execute(), but >> not @Action("edit") PersonAction#edit(). > > > Try setting > struts.convention.action.mapAllMatches = true Already tried; it didn't work. > > > Regards --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org