debug ajax responses to stdout, if new code uncommented

This commit is contained in:
Andy Janata 2012-01-22 23:58:59 -08:00
parent 8e3c1372dc
commit e21fd8ed00
1 changed files with 3 additions and 1 deletions

View File

@ -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() {