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