ActionForm && eg

package com.yanquan.forms;
import org.apache.struts.action.ActionForm;
public class CheckUserForm extends ActionForm {

private String username;

private String pwd;
public String getUsername() {
  return username;
}
public void setUsername(String username) {
  this.username = username;
}
public String getPwd() {
  return pwd;
}
public void setPwd(String pwd) {
  this.pwd = pwd;
}
}

你可能感兴趣的:(apache,struts)