⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adminemailsetform.java

📁 一个jsp写的bbs
💻 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 AdminEmailSetForm
    extends ActionForm {

  private String action;
  private String senderEmail;
  private int smtpAuth;
  private String smtpPasswd;
  private int smtpPort;
  private String smtpServer;
  private String smtpUser;
  private int useEmail;

  public String getAction() {
    return action;
  }

  public void setAction(String action) {
    this.action = action;
  }

  public void setUseEmail(int useEmail) {
    this.useEmail = useEmail;
  }

  public void setSmtpUser(String smtpUser) {
    this.smtpUser = smtpUser;
  }

  public void setSmtpServer(String smtpServer) {
    this.smtpServer = smtpServer;
  }

  public void setSmtpPort(int smtpPort) {
    this.smtpPort = smtpPort;
  }

  public void setSmtpPasswd(String smtpPasswd) {
    this.smtpPasswd = smtpPasswd;
  }

  public void setSmtpAuth(int smtpAuth) {
    this.smtpAuth = smtpAuth;
  }

  public void setSenderEmail(String senderEmail) {
    this.senderEmail = senderEmail;
  }

  public String getSenderEmail() {
    return senderEmail;
  }

  public int getSmtpAuth() {
    return smtpAuth;
  }

  public String getSmtpPasswd() {
    return smtpPasswd;
  }

  public int getSmtpPort() {
    return smtpPort;
  }

  public String getSmtpServer() {
    return smtpServer;
  }

  public String getSmtpUser() {
    return smtpUser;
  }

  public int getUseEmail() {
    return useEmail;
  }

  public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest) {
    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 + -