Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 86891 invoked from network); 4 Oct 2007 09:56:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Oct 2007 09:56:18 -0000 Received: (qmail 66122 invoked by uid 500); 4 Oct 2007 09:55:58 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 66088 invoked by uid 500); 4 Oct 2007 09:55: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 66077 invoked by uid 99); 4 Oct 2007 09:55:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 02:55:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [222.255.37.16] (HELO hnicpmaa04.vnn.vn) (222.255.37.16) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2007 09:55:58 +0000 Received: from thuongvv (222.252.175.142) by hnicpmaa04.vnn.vn (7.3.118.8) id 46EF550B000E23C7 for user@struts.apache.org; Thu, 4 Oct 2007 16:55:35 +0700 Message-ID: <000b01c8066c$983d7be0$ef0fa8c0@thuongvv> From: "Vo Van Thuong" To: "Struts Users Mailing List" References: <76ab01180709191523l12a65cd4v4dae80a1d3fa228e@mail.gmail.com> <002001c7ffe0$0732b7b0$ef0fa8c0@thuongvv> <4701678D.1000309@encs.concordia.ca> <200710012340.31179.lists@pierosartini.de> <694007130710020829y44a13e0dh2c4b82533aa0e0a7@mail.gmail.com> Subject: Re: Struts URLs for perfectionists like Ebay's URLs Date: Thu, 4 Oct 2007 16:54:45 +0700 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org Hi, Vinny i also try urlrewrite but cannot get it work with struts 2's action, only work with static html files. would you pls give give me some sample app or guides to > have > my urls go from this : /myAction.do?p1=v1&p2=v2 to > /myAction/p1,v1/p2,v2/ best regards, ----- Original Message ----- From: "Vinny" To: "Struts Users Mailing List" Sent: Tuesday, October 02, 2007 10:29 PM Subject: Re: Struts URLs for perfectionists like Ebay's URLs > Also, you might want to look at URLRewrite > http://tuckey.org/urlrewrite/ That is what I've been using in S1 and S2 > to > have > my urls go from this : /myAction.do?p1=v1&p2=v2 to > /myAction/p1,v1/p2,v2/ > > I'm also using the zero config and code behind plugins in struts2 that > also > work to hide the extention. > I use urlfilter in addition to the plugins to customize the look of my url > parameters. > > > > > On 10/1/07, Piero Sartini wrote: >> >> Am Montag 01 Oktober 2007 23:33:01 schrieb Emi Lu: >> > Is there a way to hide .action & .do by using filter & url-pattern? >> >> Have a look at >> http://code.google.com/p/smarturls-s2/wiki/WalkThrough (last paragraph: >> Extensionless URLs) >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> > > > -- > The Street Programmer http://streetprogrammer.com > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org