子集标签

package net.roseindia;

import com.opensymphony.xwork2.ActionSupport;
import java.util.*;

public class subsetTag extends ActionSupport {
	private List myList;

	public String execute() throws Exception {
		myList = new ArrayList();
		myList.add(new Integer(50));
		myList.add(new Integer(20));
		myList.add(new Integer(100));
		myList.add(new Integer(85));
		myList.add(new Integer(500));
		return SUCCESS;
	}

	public List getMyList() {
		return myList;
	}
}

		
			
			

原文:http://www.roseindia.net/struts/struts2/struts2controltags/subsetTag.shtml

源代码:http://pan.baidu.com/share/link?shareid=462075&uk=3878681452

子集标签_第1张图片

你可能感兴趣的:(Struts2)