package com.demo.action; import java.util.Date; import com.demo.bean.Point; import com.opensymphony.xwork2.ActionSupport; /** * 字符串转对象 对象转字符串 * @author thb * */ public class PointAction extends ActionSupport { private Point point; private Point point2; private int age; private Date date; private String username; public Point getPoint2() { return point2; } public void setPoint2(Point point2) { this.point2 = point2; } @Override public String execute() throws Exception { // TODO Auto-generated method stub return SUCCESS; } public Point getPoint() { return point; } public void setPoint(Point point) { this.point = point; } 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; } }
最近下载更多