dgbas公文管理核心java源码
源代码在线查看: gettaskpathservlet.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 {
// そゅ恨瞶