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 01D7F10446 for ; Tue, 12 Nov 2013 19:42:20 +0000 (UTC) Received: (qmail 30223 invoked by uid 500); 12 Nov 2013 19:42:18 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 30193 invoked by uid 500); 12 Nov 2013 19:42:18 -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 30182 invoked by uid 99); 12 Nov 2013 19:42:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 19:42:17 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yaragallamurali@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Nov 2013 19:42:12 +0000 Received: by mail-ie0-f178.google.com with SMTP id aq17so5402775iec.9 for ; Tue, 12 Nov 2013 11:41:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=g4uRF3WJIUMyrVXAh6vgaM93brLyMHGD/tqc5zyQFlY=; b=oCj9ZiN+GRw001MWF2lJ0zUuL3aeNP8rx9E6evvbbIfPFvtFSXMM8LOegqnT5MDdwf /Xdx2Yn5nIIcY0rfvrtRuiXzNXGLfIr585z7Ucp8ckwLq2G15w8fTHmP0Udr45eRPXk6 ty8UvXvPzRmWKVzZOYoHfnongYUXpIkPCT/JzaISzpPfdryOpRHTkdS4j0cQi7NjnBCW Jkhe52FLQx0zYcc5lyGWrvBBIhxrbUNVW5PIXmk3/FoP6Kf5KrzBeXpgAvN9OZn19vyW sqGt5GPCEJ2CLIYWUZus2eQs/+9IwNdXGYSZel4gA6cns+XvlHS/Du2A0s34PQfkZv+b lehw== MIME-Version: 1.0 X-Received: by 10.50.109.132 with SMTP id hs4mr16610316igb.34.1384285311328; Tue, 12 Nov 2013 11:41:51 -0800 (PST) Received: by 10.64.240.68 with HTTP; Tue, 12 Nov 2013 11:41:51 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Nov 2013 01:11:51 +0530 Message-ID: Subject: Re: can we avoid extension "action"? From: Yaragalla Muralidhar To: Struts Users Mailing List Content-Type: multipart/alternative; boundary=089e013a1d903feb0604eb000a82 X-Virus-Checked: Checked by ClamAV on apache.org --089e013a1d903feb0604eb000a82 Content-Type: text/plain; charset=ISO-8859-1 The strts filter was mapped to "/*" so i dont think we should be doing something in web.xml. Correct me if i am wrong? *Thanks and Regards,* Muralidhar Yaragalla. *http://yaragalla.blogspot.in/ * On Wed, Nov 13, 2013 at 1:03 AM, Paul Benedict wrote: > In addition, make sure your web.xml is sending the new paths/extensions to > the Struts 2 filter. > > > On Tue, Nov 12, 2013 at 1:24 PM, Yaragalla Muralidhar < > yaragallamurali@gmail.com> wrote: > > > Thank you so much Dave. > > > > *Thanks and Regards,* > > Muralidhar Yaragalla. > > > > *http://yaragalla.blogspot.in/ * > > > > > > On Wed, Nov 13, 2013 at 12:52 AM, Dave Newton > > wrote: > > > > > Yes. > > > > > > > > > On Tue, Nov 12, 2013 at 2:06 PM, Yaragalla Muralidhar < > > > yaragallamurali@gmail.com> wrote: > > > > > > > IS "`struts.action.extension=action,,`" this a constant in struts.xml > > > file? > > > > > > > > *Thanks and Regards,* > > > > Muralidhar Yaragalla. > > > > > > > > *http://yaragalla.blogspot.in/ * > > > > > > > > > > > > On Wed, Nov 13, 2013 at 12:32 AM, Dave Newton > > > > > wrote: > > > > > > > > > Sure; set `struts.action.extension=action,,` to be whatever you > want. > > > > > > > > > > > > > > > Although if you use the form tags you don't need to specify it in > the > > > > form. > > > > > > > > > > Dave > > > > > > > > > > > > > > > > > > > > On Tue, Nov 12, 2013 at 1:16 PM, Yaragalla Muralidhar < > > > > > yaragallamurali@gmail.com> wrote: > > > > > > > > > > > Hi when we submit the form we need to set the form action to > struts > > > > > action. > > > > > > Something like
. > > > > > > > > > > > > So instead of "xxx.action" can i have a different extension like > > > > > > "xxx.fire"? > > > > > > > > > > > > *Thanks and Regards,* > > > > > > Muralidhar Yaragalla. > > > > > > > > > > > > *http://yaragalla.blogspot.in/ * > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > e: davelnewton@gmail.com > > > > > m: 908-380-8699 > > > > > s: davelnewton_skype > > > > > t: @dave_newton > > > > > b: Bucky Bits > > > > > g: davelnewton > > > > > so: Dave Newton > > > > > > > > > > > > > > > > > > > > > > -- > > > e: davelnewton@gmail.com > > > m: 908-380-8699 > > > s: davelnewton_skype > > > t: @dave_newton > > > b: Bucky Bits > > > g: davelnewton > > > so: Dave Newton > > > > > > > > > -- > Cheers, > Paul > --089e013a1d903feb0604eb000a82--