Is it possible in Struts2 to map URL/actions to different extensions? e.g. if my app is hosted as
http://stack.com/myapp
Can I have 2 URLs
http://stack.com/myapp/act.action
and
http://stack.com/myapp/donoact.do
with no mapping for /act.do
and /donoact.action
. i.e. a URL should be available on single extension.
Using <constant name="struts.action.extension" value="action,do" />
makes the URLs available on both extensions.