Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
17ef8672
authored
2014-04-25 15:03:15 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Turn off verbose log
1 parent
72178d74
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
17ef867
...
...
@@ -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
();
...
...
Please
register
or
sign in
to post a comment