indexaction.java

来自「基于struct结构的jsp」· Java 代码 · 共 15 行

JAVA
15
字号
package com.ntsky.bbs.action;import org.apache.struts.action.*;import javax.servlet.http.*;import org.apache.log4j.Logger ;public class IndexAction extends Action {    private final static Logger logger = Logger.getLogger(UserLogoutAction.class);    public ActionForward execute(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws Exception{        /**@todo: complete the business logic here, this is just a skeleton.*/        logger.info("跳转到论坛首页....");        return actionMapping.findForward("index");    }}

⌨️ 快捷键说明

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