String dataItemName = null;
String dataItemValue = null;
boolean waitForResponse = true;
// Scan request params and store data values in a map for later use
ProcessData sendData = new DefaultProcessData();
for (Enumeration e = request.getParameterNames();
e.hasMoreElements();) {
String pn = (String)e.nextElement();
if (pn.equals("WFM_packageID")) {
packageID = request.getParameter(pn);
} else if (pn.equals("WFM_processID")) {
processID = request.getParameter(pn);
} else if (pn.equals("WFM_dataItemName")) {
dataItemName = request.getParameter(pn);
} else if (pn.equals("WFM_dataItemValue")) {
dataItemValue = request.getParameter(pn);
} else if (pn.equals("WFM_waitForResponse")) {
waitForResponse
= (new Boolean (request.getParameter(pn)).booleanValue());
} else {
sendData.put(pn, request.getParameter(pn));
}
}
HttpSession session = request.getSession(true);
if (logger.isDebugEnabled()) {