Application of Data JOIN Method in JS and Application of StringTokenizer Method in JSP

xiaoxiao2021-03-06  41

Function del_onclick (buttonindex) {var aaa = new array (); // func_name_disp is the select var objlist = document.all.func_name_disp on the page;

For (var i = 0; i

// join method automatically constitutes string var = aaa.join ("|"); Document.Forms [0] .act = "wec.do?list =" Str; Document.Forms [0] .submit ( );} / ************************ // <% string temp_list = request.getParameter ("list");

StringTokenizer abc = new stringTokenizer (Temp_list, "|"); arraylist list = new arraylist ();

While (abc.hasmoretoKens ()) {list.add (abc.nextToken ());

System.out.println (TEMP_LIST);

For (int i = 0; i

转载请注明原文地址:https://www.9cbs.com/read-60636.html

New Post(0)