when i create real-time chart,hope set the url in "dataStreamURL" with struts,just like this:
"/performance/deviceTypeLook_getRealTimeXml.action?ps=2&pd=3"
after encode is:
%2Fperformance%2FdeviceTypeLook_getRealTimeXml.action%3Fpa%3D2%26pd%3D3
but it can not work,so what should i do?
by the way,when define the char object with set the data url,it can work,here is the code:
var myChart1 = new FusionCharts("<%=request.getContextPath()%>/bhm/swf/FusionCharts/Column2D.swf", "deviceChartId", "225", "100", "0", "1");
myChart1.setDataURL("<%=request.getContextPath()%>/performance/deviceTypeLook_getRealTimeXml.action?ps=2&pd=3