Login.java class
This is the action itself, here's the code:
Code:
package prueba;
import com.opensymphony.xwork2.ActionSupport;;
public class Login extends ActionSupport{
private String usuario;
private String password;
@Override
public String execute() throws Exception {
System.out.println("procesando el execute de Login");
System.out.println("Usuairo: " + usuario);
System.out.println("Password: " + password);
return SUCCESS;
}
public String getUsuario() {
return usuario;
}
public void setUsuario(String usuario) {
this.usuario = usuario;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}
Bookmarks