⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gettaskpathservlet.java

📁 一个简单的公文管理系统
💻 JAVA
字号:
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 {

		// そゅ恨瞶

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -