⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adtaskform.java

📁 这是一个可以让学生选择自己喜欢的课题
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */
package com.yourcompany.struts.form;

import java.io.UnsupportedEncodingException;

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

import allBeans.Teachers;
import allDAOFactory.ITeacherDAO;
/** 
 * MyEclipse Struts
 * Creation date: 07-22-2008
 * 
 * XDoclet definition:
 * @struts.form name="adtaskForm"
 */
public class AdtaskForm extends ActionForm {
	/*
	 * Generated fields
	 */

	/** ta_memo property */
	private String ta_memo;

	/** ta_sum property */
	private int ta_sum;

	/** ta_thid property */
	private String ta_thid;

	/*
	 * Generated Methods
	 */

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
		try
		{
			request.setCharacterEncoding("GBK");
		}
		catch (UnsupportedEncodingException ex)
		{}
		ta_thid="";
	}

	/** 
	 * Returns the ta_memo.
	 * @return String
	 */
	public String getTa_memo() {
		return ta_memo;
	}

	/** 
	 * Set the ta_memo.
	 * @param ta_memo The ta_memo to set
	 */
	public void setTa_memo(String ta_memo) {
		this.ta_memo = ta_memo;
	}

	/** 
	 * Returns the ta_sum.
	 * @return String
	 */
	public int getTa_sum() {
		return ta_sum;
	}

	/** 
	 * Set the ta_sum.
	 * @param ta_sum The ta_sum to set
	 */
	public void setTa_sum(int ta_sum) {
		this.ta_sum = ta_sum;
	}

	/** 
	 * Returns the ta_thid.
	 * @return String
	 */
	public String getTa_thid() {
		return ta_thid;
	}

	/** 
	 * Set the ta_thid.
	 * @param ta_thid The ta_thid to set
	 */
	public void setTa_thid(String ta_thid) {
		this.ta_thid = ta_thid;
	}
}

⌨️ 快捷键说明

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