Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 75918 invoked from network); 23 Aug 2008 23:50:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2008 23:50:49 -0000 Received: (qmail 18895 invoked by uid 500); 23 Aug 2008 23:50:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 17962 invoked by uid 500); 23 Aug 2008 23:50:39 -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 17951 invoked by uid 99); 23 Aug 2008 23:50:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 16:50:39 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-struts-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 23:49:39 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KX2oq-00054B-8H for user@struts.apache.org; Sat, 23 Aug 2008 23:46:56 +0000 Received: from dslb-084-056-223-069.pools.arcor-ip.net ([84.56.223.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Aug 2008 23:46:56 +0000 Received: from andreas.maehler by dslb-084-056-223-069.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Aug 2008 23:46:56 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: user@struts.apache.org From: =?ISO-8859-1?Q?Andreas_M=E4hler?= Subject: Re: [S2] problem still with "actionRedirect" and "redirect" results (Struts2.1.2) Date: Sun, 24 Aug 2008 01:46:47 +0200 Lines: 38 Message-ID: <48B0A167.9070003@stud.uni-karlsruhe.de> References: <2705fb9c0807312049h21a48c8t4d4f527386556196@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-084-056-223-069.pools.arcor-ip.net User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hello Daniel, in Struts 2.1.2, you can add an empty string to the comma sperated list that goes to the "struts.action.extension" parameter (e.g. "action,," allows you to use the normal ".action" extension and the empty one) . If you would like to switch off the extension entirely (like I do), you need to set it to ",," because "" doesn't work. I'm using the struts.xml: Discussion about the topic on struts-dev: http://www.mail-archive.com/dev@struts.apache.org/msg29348.html Feature in the Apache tracker: https://issues.apache.org/struts/browse/WW-2163 HTH. Auf Wiedersehen! ~Andreas P.S: CC to struts-user; just in case other ppl are interested as well. Daniel Ruan schrieb: > Hello Andreas, > > I was searching the Struts2 mailing list and came across this post from you. I was intrigued by what you said about using the "no .action extension" feature of 2.1.x. I have been trying to find a way to avoid the action extension, but I cannot find any reference online about what you alluded to. Could you please shed more light? I just upgraded to 2.1.2. > > Thanks a lot. > > Daniel > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org