Q:
Explain about struts dispatch action in DHTML
Answer
DispatchAction is an action that comes with Struts 1.1 or later, that let us combine Struts actions into single class, each with their own method. The org.apache.struts.action.DispatchAction class allows multiple operations to map to the different functions in the same Action class.
For e:g; html:hidden property="dispatch" value="error"/>
<SCRIPT>function set(target) {document. forms[0].dispatch. value=target;}</SCRIPT>
View answer
Workspace
Report Error
Discuss