tsmissingflowhandler.java.svn-base
来自「一个timesheet程序,用来统计开发人员的度量衡web在线程序.用于软件行业」· SVN-BASE 代码 · 共 36 行
SVN-BASE
36 行
package com.nsi.components.tsmissing;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import com.nsi.control.exceptions.NsiEventException;
import com.nsi.control.web.handles.FlowHandler;
/**
* @author Chris Ye, created on Oct 10, 2008
*
* TsMissingFlowHandler
*/
public class TsMissingFlowHandler implements FlowHandler
{
/**
* @see com.nsi.control.web.handles.FlowHandler#processFlow(javax.servlet.http.HttpServletRequest)
*/
public String processFlow(HttpServletRequest request) throws NsiEventException
{
String nextScreen = "0";
SendingMailWebInfo smwbinfo = (SendingMailWebInfo)request.getSession().getAttribute("smwbinfo");
if(smwbinfo != null)
{
Map<String,String> sendmap = smwbinfo.getSendmap();
Map<String,String> failmap = smwbinfo.getFailmap();
if(!sendmap.isEmpty() || !failmap.isEmpty())
{
nextScreen = "1";
}
}
return nextScreen;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?