Hello,
I'd like to implement in a Struts2 web application some sort of url "fallback" using an own ActionMapper. This means:
when
does not exist, I want the ActionMapper to try to load e.g.
instead.
Parsing the URL and therefore finding the namespace is not a problem, but I don't know how to decide if the desired action is present in this namespace (which I have to modify if it is not).
Is there a possibility to check if an action exists within a namespace (/foo/bar in this case)? Or is there another mechanism to perform what I intend to do?
Thanks,
Gregor