What has happened to redirect.action? It does not seem to work with
latest CVS.
I have following in my views.properties:
redirect.action=webwork.action.standard.Redirect
index.action=Index
index.success=redirect.action?url=index2.action
index.error=/view/error.jsp
index2.action=Index2
index2.success=/view/index2.jsp
index2.action works just fine but index.action displays an empty page
and gives a following message:
[ (ServletDispatcher)] Could not instantiate
action:redirect.action?url=index2
java.lang.IllegalArgumentException: Action 'redirect.action?url=index2' not
found
This used to work before... Do you have any idea of what is causing this?
Redirect.java itself has not been changed lately.
And there is no example of redirect.action usage. It would be great to have
one.
best regards,
Taavi
|