📄 tutorialaction.java
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -