?? 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 + -