📄 userinfoflowhandler.java~
字号:
package com.sun.j2ee.workflow.control.actions;import java.util.HashMap;import java.util.ArrayList;import java.util.Enumeration;import javax.servlet.http.HttpServletRequest;import com.sun.j2ee.blueprints.customer.util.ContactInformation;import com.sun.j2ee.workflow.control.exceptions.EStoreEventException;import com.sun.j2ee.workflow.util.WebKeys;import com.sun.j2ee.workflow.util.tracer.Debug;public class UserInfoFlowHandler implements FlowHandler { public void doStart(HttpServletRequest request) { } public String processFlow(HttpServletRequest request) throws WorkflowAppException { String nextScreen = null; if (request.getAttribute(WebKeys.MissingFormDataKey) != null) { nextScreen = "3"; } else if (request.getParameter("ship_to_billing_address") != null) { nextScreen = "2"; } else { nextScreen = "1"; } return nextScreen; } public void doEnd(HttpServletRequest request) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -