📄 adtittleform.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-22-2008
*
* XDoclet definition:
* @struts.form name="adtittleForm"
*/
public class AdtittleForm extends ActionForm {
/*
* Generated fields
*/
/** ti_thid property */
private String ti_thid;
/** ti_name property */
private String ti_name;
/*
* 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 ti_thid.
* @return String
*/
public String getTi_thid() {
return ti_thid;
}
/**
* Set the ti_thid.
* @param ti_thid The ti_thid to set
*/
public void setTi_thid(String ti_thid) {
this.ti_thid = ti_thid;
}
/**
* Returns the ti_name.
* @return String
*/
public String getTi_name() {
return ti_name;
}
/**
* Set the ti_name.
* @param ti_name The ti_name to set
*/
public void setTi_name(String ti_name) {
this.ti_name = ti_name;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -