I can use the version 4 of Debug Toolbar in XPINC using SSJS. But, when I call it from Java I get an Error 500. The same code works fine in a browser.
package com.tlcc;
import org.openntf.xsp.debugtoolbar.beans.DebugToolbarBean;
public class DebugToolbar {
private static final DebugToolbarBean dBar = DebugToolbarBean.get();
public static String writeToDebug(String msg){
dBar.info("IN JAVA");
return msg.concat(new String("-added"));
}
}
Any work-arounds for this other than to use version 3? That works fine.
thanks,
Howard