📄 adteachereditform.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.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 07-23-2008
*
* XDoclet definition:
* @struts.form name="adteachereditForm"
*/
public class AdteachereditForm extends ActionForm {
/*
* Generated fields
*/
/** th_id property */
private String th_id;
/** th_password property */
private String th_password;
/** th_profession property */
private String th_profession;
/** th_phone property */
private String th_phone;
/** th_sex property */
private String th_sex;
/** th_study property */
private String th_study;
/** th_memo property */
private String th_memo;
/** th_name property */
private String th_name;
/** th_email property */
private String th_email;
/*
* 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)
{}
}
/**
* Returns the th_password.
* @return String
*/
public String getTh_password() {
return th_password;
}
/**
* Set the th_password.
* @param th_password The th_password to set
*/
public void setTh_password(String th_password) {
this.th_password = th_password;
}
/**
* Returns the th_profession.
* @return String
*/
public String getTh_profession() {
return th_profession;
}
/**
* Set the th_profession.
* @param th_profession The th_profession to set
*/
public void setTh_profession(String th_profession) {
this.th_profession = th_profession;
}
/**
* Returns the th_phone.
* @return String
*/
public String getTh_phone() {
return th_phone;
}
/**
* Set the th_phone.
* @param th_phone The th_phone to set
*/
public void setTh_phone(String th_phone) {
this.th_phone = th_phone;
}
/**
* Returns the th_sex.
* @return String
*/
public String getTh_sex() {
return th_sex;
}
/**
* Set the th_sex.
* @param th_sex The th_sex to set
*/
public void setTh_sex(String th_sex) {
this.th_sex = th_sex;
}
/**
* Returns the th_study.
* @return String
*/
public String getTh_study() {
return th_study;
}
/**
* Set the th_study.
* @param th_study The th_study to set
*/
public void setTh_study(String th_study) {
this.th_study = th_study;
}
/**
* Returns the th_memo.
* @return String
*/
public String getTh_memo() {
return th_memo;
}
/**
* Set the th_memo.
* @param th_memo The th_memo to set
*/
public void setTh_memo(String th_memo) {
this.th_memo = th_memo;
}
/**
* Returns the th_name.
* @return String
*/
public String getTh_name() {
return th_name;
}
/**
* Set the th_name.
* @param th_name The th_name to set
*/
public void setTh_name(String th_name) {
this.th_name = th_name;
}
/**
* Returns the th_email.
* @return String
*/
public String getTh_email() {
return th_email;
}
/**
* Set the th_email.
* @param th_email The th_email to set
*/
public void setTh_email(String th_email) {
this.th_email = th_email;
}
/**
* Returns the th_id.
* @return String
*/
public String getTh_id() {
return th_id;
}
/**
* Set the th_id.
* @param th_id The th_id to set
*/
public void setTh_id(String th_id) {
this.th_id = th_id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -