struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinny <xaym...@gmail.com>
Subject Re: Struts URLs for perfectionists like Ebay's URLs
Date Tue, 02 Oct 2007 15:29:50 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message