typeform.java
来自「基于struts框架编写的在线考试系统」· Java 代码 · 共 36 行
JAVA
36 行
package examonline.struts.forms;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import examonline.beans.Question;
import examonline.beans.Type;
public class TypeForm extends ActionForm {
private Type type=new Type();
public Type getType() {
return type;
}
public void setType(Type type) {
this.type = type;
}
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) {
type=new Type();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?