struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vo Van Thuong" <vovanthu...@hn.vnn.vn>
Subject Re: Struts URLs for perfectionists like Ebay's URLs
Date Thu, 04 Oct 2007 09:54:45 GMT
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" <xaymaca@gmail.com>
To: "Struts Users Mailing List" <user@struts.apache.org>
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 <lists@pierosartini.de> 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


Mime
View raw message