| Author |
Struts 2 and call another method != execute
|
Antonio Lazaro Carvalho
Greenhorn
Joined: Jul 07, 2006
Posts: 14
|
|
|
How can I configure my Action/url to call another method different that execute method?
|
SCJP 1.4(77%) Learning even..
|
 |
Antonio Lazaro Carvalho
Greenhorn
Joined: Jul 07, 2006
Posts: 14
|
|
<package name="default" extends="struts-defaults"> <action name="cadastroMapas" class=" br.ucsal.projeto.view.actions.CadastroMapasAction"> </action> <action name="preencherCurso" class=" br.ucsal.projeto.view.actions.CadastroMapasAction" method="preencherCurso"> </action> </package>
|
 |
vijay satlawar
Greenhorn
Joined: Sep 05, 2012
Posts: 3
|
|
There is an attribute called 'method' for action tag where we have to specify method to be called.
<action="" class="" method="">
</action>
that method should return string parmerter in Action.
Vijay Satlawar
|
 |
 |
|
|
subject: Struts 2 and call another method != execute
|
|
|