jackylu

Members
  • Content count

    4
  • Joined

  • Last visited

Posts posted by jackylu


  1. I have pass parameter with dataUrl,in debug mode ,i see the DataURL provied and invoked: not same,

    when i use firefox, the dataurl invoked twice

    dataURL provided: /report/fusionchart?sqlKey=t_r_deposit_order_day&showBorder=1&baseFontSize=15&formatNumber=0&caption=财务订单月报表&pMonth=2011-10&monthFrom=2011-11&monthTo=2011-12
    dataURL invoked: /report/fusionchart?sqlKey=t_r_deposit_order_day&showBorder=1&baseFontSize=15&formatNumber=0&caption=璐㈠姟璁㈠崟鏈堟姤琛?pMonth=2011-10&monthFrom=2011-11&monthTo=2011-12&FCTime=111
    

     

    why?

     

     


  2. I use dataURL to get xml data from server side, with some chinese parameter, I have use URLEncoder.encode(dataUrl, "UTF-8");

    and set tomcat URIEncoding="UTF-8",but in my servlet, i use request.getParameter(), the one of the character is ? and the other is right

     

    i want to send dataUrl:/report/fusionchart?xaxisName=订单状态 to server

    js script

    
    var firstChart = new FusionCharts("/report/fusionchart/FCF_Column3D.swf", "firstChart", "600", "500",1); 
    firstChart.setDataURL("%252Freport%252Ffusionchart%253FxAxisName%253D%25E8%25AE%25A2%25E5%258D%2595%25E7%258A%25B6%25E6%2580%2581"); 
    firstChart.render("firstChart");
    

     

    server code

    String xAxisName = request.getParameter("xAxisName");
    System.out.println("xaxisName:" + xAxisName);
    

    but i got

    xaxisName:订单状?

     

    any help?ths