updatemainproblemform.java

来自「是一个J2EE的项目,在eclipse下编译通过,应用struts,hibern」· Java 代码 · 共 49 行

JAVA
49
字号
package com.bjjd.form;

import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMessage;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

//修改主要问题的动作表单
public class UpdatemainproblemForm extends ActionForm{
	private String name;
	private String type;
	private String description;
	private String sex;
	public String getSex()
	{
		return sex;
	}
	public void setSex(String sex)
	{
		this.sex=sex;
	}
	public String getType() {
	    return type;
	  }
   public void setType(String type) {
	    this.type = type;
	  }
   public String getName() {
	    return name;
	  }
  public void setName(String name) {
	    this.name = name;
	  }
  public String getDescription() {
	    return description;
	  }
 public void setDescription(String type) {
	    this.description = description;
	  }
 
	public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
	  	ActionErrors actionErrors = new ActionErrors();
	   	
	   	return actionErrors;
	 	}

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?