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 阅读(793) 评论(0)  编辑  收藏 所属分类: Java 源代码


只有注册用户登录后才能发表评论。


网站导航: