debug ajax responses to stdout, if new code uncommented
This commit is contained in:
parent
8e3c1372dc
commit
e21fd8ed00
|
@ -139,7 +139,9 @@ public abstract class CahServlet extends HttpServlet {
|
|||
}
|
||||
|
||||
private void returnObject(final PrintWriter writer, final Object object) {
|
||||
writer.println(JSONValue.toJSONString(object));
|
||||
final String ret = JSONValue.toJSONString(object);
|
||||
writer.println(ret);
|
||||
// System.out.println(ret);
|
||||
}
|
||||
|
||||
protected Injector getInjector() {
|
||||
|
|
Loading…
Reference in New Issue