📄 adminwebsetform.java
字号:
package com.laoer.bbscs.web.form;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import javax.servlet.http.HttpServletRequest;
import org.apache.commons.lang.*;
public class AdminWebsetForm
extends ActionForm {
private String action;
private String copyRightMsg;
private String forumName;
private String forumUrl;
private String privacyUrl;
private String webName;
private String webUrl;
private String webmasterEmail;
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public void setWebmasterEmail(String webmasterEmail) {
this.webmasterEmail = webmasterEmail;
}
public void setWebUrl(String webUrl) {
this.webUrl = webUrl;
}
public void setWebName(String webName) {
this.webName = webName;
}
public void setPrivacyUrl(String privacyUrl) {
this.privacyUrl = privacyUrl;
}
public void setForumUrl(String forumUrl) {
this.forumUrl = forumUrl;
}
public void setForumName(String forumName) {
this.forumName = forumName;
}
public void setCopyRightMsg(String copyRightMsg) {
this.copyRightMsg = copyRightMsg;
}
public String getCopyRightMsg() {
return copyRightMsg;
}
public String getForumName() {
return forumName;
}
public String getForumUrl() {
return forumUrl;
}
public String getPrivacyUrl() {
return privacyUrl;
}
public String getWebName() {
return webName;
}
public String getWebUrl() {
return webUrl;
}
public String getWebmasterEmail() {
return webmasterEmail;
}
public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
/** @todo: finish this method, this is just the skeleton.*/
if (StringUtils.isBlank(this.action)) {
this.action = "index";
}
return null;
}
public void reset(ActionMapping actionMapping, HttpServletRequest servletRequest) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -