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

📄 forumform.java

📁 网上论坛系统,是一个功能很完善的系统,推存给大家,很好用的
💻 JAVA
字号:
package struts.actionform;

import java.util.*;

import javax.servlet.http.*;

import org.apache.struts.action.*;
import vo.*;
import bo.TopicVO;

public class ForumForm extends ActionForm {
    private String event;
    private String type;
    private String id;
    private Topic topic = new Topic();
    private Reply reply = new Reply();
    private List forumList;
    private int pageCount; //总的页数
    private int currPage = 1; //当前页数

    private List replyList;
    private String msg;
    private TopicVO topicVO = new TopicVO();
    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) {
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setTopic(Topic topic) {
        this.topic = topic;
    }

    public void setReply(Reply reply) {
        this.reply = reply;
    }

    public void setForumList(List forumList) {
        this.forumList = forumList;
    }

    public void setCurrPage(int currPage) {
        this.currPage = currPage;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setReplyList(List replyList) {
        this.replyList = replyList;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setTopicVO(TopicVO topicVO) {
        this.topicVO = topicVO;
    }

    public String getEvent() {
        return event;
    }

    public String getType() {
        return type;
    }

    public String getId() {
        return id;
    }

    public Topic getTopic() {
        return topic;
    }

    public Reply getReply() {
        return reply;
    }

    public List getForumList() {
        return forumList;
    }

    public int getCurrPage() {
        return currPage;
    }

    public int getPageCount() {
        return pageCount;
    }

    public List getReplyList() {
        return replyList;
    }

    public String getMsg() {
        return msg;
    }

    public TopicVO getTopicVO() {
        return topicVO;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -