Luben Park

          Java Ben 成長之路

          Jsp 傳數組給Applet

          <body>
            <%
            String[] choosedlist = (String[])session.getAttribute("choosedlist");
            String curshowType = (String)session.getAttribute("LowORHigh");
                  String curpicType = (String)session.getAttribute("type");
                  //System.out.println("Movie" + curshowType + curpicType );
            //for(int i = 0; i<choosedlist.length; i++){
             //System.out.println(choosedlist[i]);
            //}
           %>
           
           <APPLET
           CODE = "cn.com.ztesoft.Animation.Animation.class"
           codebase = "."
           WIDTH = 740 
           HEIGHT = 400 
           NAME = "TestApplet" 
           ALIGN = middle 
           VSPACE = 0 
           HSPACE = 0>
           <%
           for (int a=0; a<choosedlist.length; a++)
           {%>
            <PARAM NAME = "paramA<%=a%>" VALUE = "<%=choosedlist[a]%>">
           <%}%>
           <PARAM NAME = "ParamNumber" VALUE = "<%=choosedlist.length%>">  
           <PARAM NAME = "curshowType" VALUE = "<%=curshowType%>">
           <PARAM NAME = "curpicType" VALUE = "<%=curpicType%>">
           </APPLET>   
           <a href="gms.jsp">返回</a>
            </body>

          posted on 2005-12-20 14:12 Ben 閱讀(802) 評論(0)  編輯  收藏 所屬分類: Java 源代碼


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 伊通| 五寨县| 太保市| 徐汇区| 麟游县| 茂名市| 工布江达县| 双峰县| 嵊州市| 仙桃市| 留坝县| 宁武县| 恭城| 勃利县| 岳西县| 集贤县| 新河县| 岚皋县| 安康市| 嘉禾县| 淮南市| 伊金霍洛旗| 六枝特区| 潍坊市| 新绛县| 余庆县| 南靖县| 宁陕县| 信宜市| 中阳县| 湘潭县| 伽师县| 姜堰市| 炎陵县| 精河县| 屏东市| 武安市| 桦甸市| 多伦县| 高邑县| 滦平县|