Dispatch Action

Hi how to use DispatchAction in struts
[45 byte] By [rehna_rehnaa] at [2007-10-1 14:01:44]
# 1

pls...

see

th org .apache.struts.action.DispatchAction class

this Action provide DispatchAction class is to allow multiple operation

& you must include one method on your DispatchAction For every Action you want to invoke for DispatchAction

Ex..

refer in orieilly

spr123456a at 2007-7-10 17:19:51 > top of Java-index,Enterprise & Remote Computing,AVK Portability...
# 2

Hi,

Whenever working with dispatch action, while specifying its button name or link name specify an attribute called "property", give some logical name for this attribute and in struts-config.xml, the same attribute with logical name should be used. so when ever u send multiple requests with in a same page , it gets processed, do not forget to implement ur methods with same execute() signature.

KasarlaRamesha at 2007-7-10 17:19:51 > top of Java-index,Enterprise & Remote Computing,AVK Portability...