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
0e66cc15
authored
2014-04-25 15:43:07 -0500
by
Jerry Pommer
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'BF-2475' of /home/git/repositories/brainfood/ofbiz-directcontrolservlet
2 parents
72178d74
17ef8672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
0e66cc1
...
...
@@ -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
();
...
...
Please
register
or
sign in
to post a comment