📄 areaaction.java~
字号:
package com.cargo;import org.apache.struts.action.*;import javax.servlet.http.*;import javax.sql.DataSource;public class AreaAction extends Action { public ActionForward perform(ActionMapping actionMapping, ActionForm actionForm, HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) { /**@todo: complete the business logic here, this is just a skeleton.*/ AreaForm areaForm = (AreaForm) actionForm; String action =actionMapping.getParameter(); ActionForward forward=null; if(action==null||"".equalsIgnoreCase(action)){ forward=actionMapping.findForward("failure"); }else if("view".equalsIgnoreCase(action)){ forward=preformv(actionMapping,actionForm,httpServletRequest,httpServletRequest); } //throw new java.lang.UnsupportedOperationException("Method execute() not yet implemented."); return actionMapping.findForward("success"); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -