Is there a way to configure struts 2, so that the dispatcher will use the querystring to map the action to invoke?
For example, in the link below, I would like to invoke action blah, not action foo.
http://domain:port/myapp/foo.do?someparameter=blah
Thanks.
I do not think that is possible with any of the default mappers.
It wouldn’t be that bad to create an
Interceptorthat is configured for yourfooaction that checks the value ofsomeparameter, and either chains or redirects to yourblahaction.