package com.demo.action; import java.util.Date; import java.util.List; import com.demo.bean.Point; import com.opensymphony.xwork2.ActionSupport; /** * 字符串转对象 对象转字符串 * @author thb * */ public class PointListAction extends ActionSupport { private List<Point> plist; private int age; private Date date; private String username; public List<Point> getPlist() { return plist; } public void setPlist(List<Point> plist) { this.plist = plist; } @Override public String execute() throws Exception { // TODO Auto-generated method stub return SUCCESS; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public Date getDate() { return date; } public void setDate(Date date) { this.date = date; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } }
最近下载更多