Luben Park

          Java Ben 成長之路

          Jsp 傳數(shù)組給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 閱讀(797) 評論(0)  編輯  收藏 所屬分類: Java 源代碼


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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 延长县| 迁西县| 红原县| 田林县| 龙陵县| 清镇市| 花垣县| 鱼台县| 五大连池市| 麻城市| 宁安市| 花莲市| 百色市| 黄浦区| 遵义市| 杨浦区| 永福县| 时尚| 衡阳县| 云霄县| 德令哈市| 嘉鱼县| 泸西县| 海伦市| 贵定县| 太谷县| 闽清县| 中牟县| 壤塘县| 黄平县| 绥阳县| 万盛区| 乐至县| 四川省| 巫溪县| 长丰县| 赣榆县| 迁安市| 波密县| 从化市| 临城县|