📄 sendmailform.java
字号:
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.yourcompany.struts.form;
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: 09-26-2007
*
* XDoclet definition:
* @struts.form name="sendmailForm"
*/
public class SendmailForm extends ActionForm {
/*
* Generated fields
*/
/** answer property */
private String answer;
/** question property */
private String question;
private String id;
/*
* 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
}
/**
* Returns the answer.
* @return String
*/
public String getAnswer() {
return answer;
}
/**
* Set the answer.
* @param answer The answer to set
*/
public void setAnswer(String answer) {
this.answer = answer;
}
/**
* Returns the question.
* @return String
*/
public String getQuestion() {
return question;
}
/**
* Set the question.
* @param question The question to set
*/
public void setQuestion(String question) {
this.question = question;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -