Rudy Tanaga

Members
  • Content count

    2
  • Joined

  • Last visited

Posts posted by Rudy Tanaga


  1. Please help, i cannot pass more than 1 parameter in setDataURL. Please help me, asap.

     

     

     

    This is my code on JSP page :

     

     

     

    <%

     

    strDataURL="";

     

    //strDataURL ="data_provider.do?doAction=viewchart";

     

    strDataURL = encodeDataURL("data_provider.do?doAction=viewchart&kpiID=10000002","false",response);

     

    String chartCode2= createChart("../charts/Pie3D.swf",strDataURL, "", "chart2", 600, 300, false, false);

     

    %>

     

    <%=chartCode2 %>

     

     

     

    And this is my java class :

     

     

     

    public ActionForward viewchart(ActionMapping mapping, ActionForm form,

     

    HttpServletRequest request, HttpServletResponse response) {

     

     

     

    BaseDynaForm frm = (BaseDynaForm) form;

     

    HttpSession session = request.getSession();

     

    System.out.println(frm.get("kpiID")); //--> i got null in this statement

     

    System.out.println(request.getQueryString()); // --> and i got "doAction=viewchart" it should be "doAction=viewchart&kpiID=10000002"

     

     

     

    }

     

     

     

    And i've register my parameter into my bean as below :