How can I rewrite the URL produced by Struts2, so that I can remove .action extension from url.
For example consider the URL below:
I would like to be converted to
I tried struts.action.extension="/" or "" but that does not seem to work.
Also tried to use URLRewriteFilter but also without any success. Has anybody
faced this problem before ? And can anyone point me to a solution for this
problem?
Yes I'm aware of that, but I use struts2 (2.0.14) (which as far as I know lacks of that functionality) and I
hesitate to upgrade to struts2.1, cause of the problems luring in such a transition.
So to be more specific, my question is how can I achieve extension-less actions in struts2.0.x?