📄 yonghufenyeactionform.java
字号:
package tmp;
import javax.servlet.http.*;
import org.apache.struts.action.*;
import yonghu.*;
public class yonghufenyeActionForm extends ActionForm {
private String n;
private yonghuliebiao yhlb;
private String s;
public String getN() {
return n;
}
public yonghuliebiao getYhlb() {
return yhlb;
}
public String getS() {
return s;
}
public void setN(String n) {
this.n = n;
}
public void setYhlb(yonghuliebiao yhlb) {
this.yhlb = yhlb;
}
public void setS(String s) {
this.s = s;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest servletRequest) {
System.out.println("ssssssssssss");
this.setS((String)servletRequest.getAttribute("s"));
System.out.println(this.getS());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -