0e66cc15 by Jerry Pommer

Merge branch 'BF-2475' of /home/git/repositories/brainfood/ofbiz-directcontrolservlet

2 parents 72178d74 17ef8672
......@@ -145,7 +145,7 @@ public class DirectControlServlet extends HttpServlet {
}
}
}
// If there is a mapping for this pathInfo, run the corresponding service
// otherwise, return an error
String serviceName = serviceURLMappings.get(pathInfo + "#" + method);
......@@ -206,7 +206,7 @@ public class DirectControlServlet extends HttpServlet {
Map<String, Object> result = dispatcher.runSync(serviceName, context);
System.err.println("RESULT:" + result);
// System.err.println("RESULT:" + result);
result.remove("responseMessage");
......@@ -222,7 +222,7 @@ public class DirectControlServlet extends HttpServlet {
String jsonStr = json.toString();
response.setContentLength(jsonStr.getBytes("UTF8").length);
writer.write(jsonStr);
Debug.logWarning("JSON result [%s]", module, jsonStr);
// Debug.logWarning("JSON result [%s]", module, jsonStr);
writer.flush();
writer.close();
......