useraction.java~
来自「第1章 大学生就业求职网 第2章 网上物流平台 第3章 华奥汽车销售集团网 」· JAVA~ 代码 · 共 22 行
JAVA~
22 行
package cargo;import org.apache.struts.action.*;import javax.servlet.http.*;public class UserAction extends Action { public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) { /**@todo: complete the business logic here, this is just a skeleton.*/ ActionForward myforward=null; String myaction=actionMapping.getParameter(); if(isCancelled(httpServletRequest)){ return actionMapping.findForward("cancel"); } if("".equalsIgnoreCase(myaction)){ myforward=actionMapping.findForward("failure"); }else if("ADD".equalsIgnoreCase(myaction)){ myforward=performAdd(actionMapping,actionForm,httpServletRequest,httpServletResponse); } UserActionForm userActionForm = (UserActionForm) actionForm; throw new java.lang.UnsupportedOperationException("Method perform() not yet implemented."); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?