1<%@ page contenttype= "text/html; CHARSET=GBK "language=" java "%>2<% @taglib prefix= "s" uri= "/struts-tags"%>345<meta http-equiv= "Content-type" content= "text/html; CHARSET=GBK "/>6<title> use S:optiontransferselect to generate a drop-down list box for a removable list item </title>7<s:head/>89<body>Ten One<s:form> A<!--use simple collection objects to generate a movable drop-down list box-- -<S:optiontransferselect -Label= "Please choose your favorite book" theName= "Cnbook" -Lefttitle= "Chinese book:" -righttitle= "Foreign Language books" -list= "{' Crazy Java handout ', ' Struts2 authoritative guide ', +' Lightweight EE Enterprise Application Practice ', ' Java EE-based Ajax '} ' -Multiple= "true" +Addtoleftlabel= "Move Left" ASelectalllabel= "Select All" atAddalltorightlabel= "All right Shift" -headerkey= "Cnkey" -Headervalue= "---Select Chinese book---" -Emptyoption= "true" -doublelist= "{' Expert one-on-one-ee Design and development ', -' Javascript:the Definitive Guide '} " inDoublename= "Enbook" -doubleheaderkey= "Enkey" toDoubleheadervalue= "---Choose foreign language books---" +Doubleemptyoption= "true" -Doublemultiple= "true" the/> *</s:form> $</body>Panax Notoginseng"Java EE Enterprise Application Combat Learning record" Optiontransferselect implementation two list selection box