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