posted 17 years ago
Hi,
I have the following action mappings.
Say,
<action path="/a" type="AAction">
<forward name="success" path="success.jsp" />
<forward name="failure" path="error.jsp" />
</action>
and
<action path="/b" type="BAction">
<forward name="success" path="success.jsp" />
<forward name="failure" path="error.jsp" />
</action>
And I have a requirement which is like this.
when the 'path' is anything OTHER THAN "/a" or "/b", i want it to be directed to a specific Action class.
I tried the path="/*", but its not supported.
How can this be implemented?
Thanks in advance.