2007/9/7, Mirbek Nosinov <[EMAIL PROTECTED]>:
> How to hide .action extension in url for my actions
>
> for example
> if i have url for my action like
> http://localhost:8080/cms2/StartPage.action
>
> but i need like
> http://localhost:8080/cms2/StartPage

you can modify the extension in struts.properties:
struts.action.extension=do
I don't think you can leave it blank, give it a try

what you could do is using mod_rewrite if you use Apache as a
frontend, or use the UrlRewriteFilter (http://tuckey.org/urlrewrite/)
in your app.
-- 
Guillaume Carré

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

Reply via email to