dgbas公文管理核心java源码

源代码在线查看: gettaskpathservlet.java

软件大小: 5668 K
上传用户: apsdn
关键词: dgbas java 核心 源码
下载地址: 免注册下载 普通下载 VIP

相关代码

				package com.jasson.presentation.document;
				
				import com.jasson.integration.agentflow.*;
				import java.io.*;
				import java.util.*;
				import javax.servlet.*;
				import javax.servlet.http.*;
				import si.wfinterface.WFCI;
				
				public class GetTaskPathServlet extends HttpServlet {
				
					WFCI wfci;
				
					public void service (HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
				
						String strTaskID = request.getParameter("TaskID");
						wfci = (WFCI)getServletContext().getAttribute("wfci");
						AgentFlowWrapper agentFlow = new AgentFlowWrapper(wfci);
						if (strTaskID != null) {
							Task task = agentFlow.getTask(strTaskID);
							TaskPath taskPath[] = task.getTaskPath();
				//			TaskPath taskPath[] = agentFlow.getTaskPath(strTaskID);
							request.setAttribute("TaskPath", taskPath);
							forward("../DMS/document/GetTaskPath.jsp", request, response);
						}
						return;
					
					}
				
					private void forward(String strForward, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
				
						// そゅ恨瞶			

相关资源