jfreechart 多参数传递

<script type="text/javascript">
var year = document.getElementById("yearCode").value;
var rtl=document.getElementById("depFs1");  //获取下拉框对象
var depPathFlag = rtl.options[rtl.selectedIndex].value; //获取被选中的值
var chart = new FusionCharts("${pageContext.request.contextPath}/jsp/sys/FusionChartsFree/Charts/FCF_Area2D.swf", "ChartId", "1000", "450");
chart.setDataURL(escape("${pageContext.request.contextPath}/reports.action?submitFlag=toYearNewlyClientST&yearCode="+year+"&depPathFlag="+depPathFlag));
chart.render("chartdiv");
</script> </td>

 

你可能感兴趣的:(escape)