You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Navjot Singh <na...@net4india.net> on 2003/03/31 15:14:03 UTC

DispatchAction Clarification

hi guys,

correct me if i am wrong.

DisptachAction class uses the parameter from the __request__ attributes 
to call the __method__ defined in Action class.
AND 
the *name of the request parameter* has to be SAME as *value specified for 
parameter attribute* in action tag of struts-config

will wait for reply 

Navjot Singh





---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RES: DispatchAction Clarification

Posted by Jorge Mascena <jo...@cesar.org.br>.
And the value of the request parameter has to be the same as the name of
the method in your DispatchAction. Also, remember NOT to implement the
execute method in your DispatchAction.

Jorge Mascena

> -----Mensagem original-----
> De: Navjot Singh [mailto:navjot.s@net4india.net] 
> Enviada em: Monday, March 31, 2003 10:14 AM
> Para: Struts Users List
> Assunto: DispatchAction Clarification
> 
> 
> hi guys,
> 
> correct me if i am wrong.
> 
> DisptachAction class uses the parameter from the __request__ 
> attributes 
> to call the __method__ defined in Action class.
> AND 
> the *name of the request parameter* has to be SAME as *value 
> specified for 
> parameter attribute* in action tag of struts-config
> 
> will wait for reply 
> 
> Navjot Singh
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org