I have a problem to get value from parameter of a mapping inside of an 
action: 

IN ACTION: 

        String parameter = mapping.getParameter(); 
        System.out.println("pam : " + parameter); 

IN STRUT-CONFIG: 

      <action path="/alterarSenha" parameter="show" 
type="com.neus.componentes.usuario.gui.UsuarioAction"> 
      </action> 

        <action path="/alterarSenha" parameter="change" 
type="com.neus.componentes.usuario.gui.UsuarioAction"> 
      </action> 

So, the string parameter shoud be "show" or "change" in output action. It 
depends only of the url in a form page: 

-- <form action="alterarSenha.do?show" ... 
or 
-- <form action="alterarSenha.do?change" ... 

But, just out in output in action "change". why?? 
It seems that the second paragraf in the struts-config rewrite the first 
paragraf. I'm still a beginner of struts! :/ 

thanks 

Aislan 

_________________________________________________________
Voce quer um iGMail protegido contra v�rus e spams? 
Clique aqui: http://www.igmailseguro.ig.com.br


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to