📄 questionform.java
字号:
package users;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
public class questionForm extends ActionForm {
private String id;
private String topic;
private String name;
private String question;
private String r_time;
private String reply;
private String time;
private String method;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTopic() {
return topic;
}
public void setTopic(String topic) {
this.topic = topic;
}
public void setTime(String time) {
this.time = time;
}
public void setReply(String reply) {
this.reply = reply;
}
public void setR_time(String r_time) {
this.r_time = r_time;
}
public void setQuestion(String question) {
this.question = question;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public String getQuestion() {
return question;
}
public String getR_time() {
return r_time;
}
public String getReply() {
return reply;
}
public String getTime() {
return time;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest servletRequest) {
try{
servletRequest.setCharacterEncoding("gb2312");
}
catch(Exception e){
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -