Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 31803 invoked from network); 1 Mar 2011 17:49:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 17:49:26 -0000 Received: (qmail 35480 invoked by uid 500); 1 Mar 2011 17:49:24 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 35265 invoked by uid 500); 1 Mar 2011 17:49:21 -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 35257 invoked by uid 99); 1 Mar 2011 17:49:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 17:49:20 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maurizio.cucchiara@gmail.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qw0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 17:49:15 +0000 Received: by qwd6 with SMTP id 6so4754543qwd.35 for ; Tue, 01 Mar 2011 09:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=k38jsCnPrrPw7zS+wL2wq8q342gRZoxxaJAYOZ1pSbQ=; b=bG2j90SA6VT8pVPhU4xIuQ9NaeASpr097GGEcf5tM6ADt6uZAjOMk/Vg23ra8H92vE 8dAvKsKgjxSCOEhvA0Mfo5vYNGrEOF0955EZf75CUaK+8VsYE+I/cpdbv+W1NyFvF/Zw /RyEWVTgkvulQnxDY+fdubCFYiG0dWYMmUcbU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cAESvhLjE2NdaWv07NzKe9GGmSRoblHBMgu3Quvy+zurv8OoO8PELebyuQlnee2B0h PMzy8q5SrvVRydUJdslSN86U8EuAgqt5X88mgeiu3prwiC2J5/q9xkQ0y72t9KsT3njT ha1NV7fwzMuCfYpBY+vxJaBq9eT0xn5n9UW1c= MIME-Version: 1.0 Received: by 10.224.46.8 with SMTP id h8mr6144541qaf.190.1299001734315; Tue, 01 Mar 2011 09:48:54 -0800 (PST) Received: by 10.224.20.65 with HTTP; Tue, 1 Mar 2011 09:48:54 -0800 (PST) In-Reply-To: References: Date: Tue, 1 Mar 2011 18:48:54 +0100 Message-ID: Subject: Re: Handling wildcard action names with dot. From: Maurizio Cucchiara To: Struts Users Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm afraid that you should consider to use apache mod_rewrite or something like an url rewrite filter [1]? [1] http://www.tuckey.org/urlrewrite/ On 1 March 2011 18:24, Chris Pratt wrote: > It's possible you might have to play with your filter entries in web.xml > also. =A0The container also maps by extension. > =A0(*Chris*) > > On Tue, Mar 1, 2011 at 5:59 AM, GF wrote: > >> I configured struts to handle url mapping with no extensions this way >> >> >> >> With this action mapping >> =A0 =A0 =A0 =A0 >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0{1} >> =A0 =A0 =A0 =A0 =A0 =A0myTile >> =A0 =A0 =A0 =A0 >> >> I can handle urls like: >> >> /aaa/bbb/ccc >> /aaa/bbb/ddd >> /aaa/bbb/eee >> >> But i wish to handle this kind of urls too: >> >> /aaa/bbb/fff.xyz >> /aaa/bbb/fff.jkw >> /aaa/bbb/fff.anykindofextension >> >> But when i insert a DOT in the action name (mapped by a wildcard) I >> get a 404 error. >> >> >> Any idea? >> >> Thank you >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> > --=20 Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org