Hello,
I have a problem with the result type dispatcher when I try to dispatch
the success or error to another action. I get 404 error. This works fine
with result type chain.
Here is my configuration.
<action name="TaskInsert"
class="com.isone.struts.action.InsertDataAction">
<result type="tiles"
name="success">sampleapp.examples.task.insert</result>
<result name="error">TaskList.action</result>
</action>
<action name="TaskDoInsert"
class="com.isone.struts.action.InsertDataAction"
method="doInsert">
<result name="input">TaskInsert</result>
<result type="redirect-action" name="success">TaskList</result>
<!--<result type="chain" name="error">TaskInsert</result> THIS
WORKS -->
<result name="error">TaskInsert.action</result>
<!--THIS DOES NOT WORK. I Tried everything. With and without
.action, and starting the action with a "/" -->
</action>
Am I doing something wrong. This seems very basic to be..
Thanks
Anil
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)