Explain about struts dispatch action in DHTML.
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 Example:<html:hidden property="dispatch" value="error"/>
<SCRIPT>function set(target) {document. forms[0].dispatch. value=target;}</SCRIPT>