tutorialaction.java

来自「java 实现的动态树 java 实现的动态树」· Java 代码 · 共 34 行

JAVA
34
字号
/* * This Source code was written by theKM* (the KeyboardMonkey) and is held under * The popular ISYM.NSMYP technology agreement (I've Shown You Mine, Now Show Me * Yours Please). In which case, writing source that uses this source in part or * in whole means that it would be nice of you to show me at least what it does * and how my source played a part. * All rights reserved... arron@keyboardmonkey.com */package com.km.struts.tutorial.action;import java.io.*;import javax.servlet.*;import javax.servlet.http.*;import org.apache.struts.action.*;/** * Standard action class. Always throws back to the monkeyForward page. * nothing more. * * @author Arron Bates <arron@keyboardmonkey.com> */public class TutorialAction extends Action {  /* It's a lazy, but reliable way to get our stuff saved to disk */    public ActionForward perform( ActionMapping mapping, ActionForm form,                                HttpServletRequest request,                                HttpServletResponse response )    throws IOException, ServletException {        /* return back to the page we came */    return ( mapping.findForward("input") );  }}

⌨️ 快捷键说明

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