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" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
The Street Programmer http://streetprogrammer.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to