日期:2014-05-17  浏览次数:20734 次

STRUTS2 ACTION收不到页面传过来的属性值
现象:
1. ACTION的EXECUTE方法能被调用
2. 所有的SETTER值都是NULL

查看页面的返回的值:
id:0
stationId:1
title:11
checkPerson:自己
checkDate:2013-11-08
checkHour:1:30 上午

ACTION中的设定(SETTER/GETTER全部自动生成)
private Integer id;
private String checkPerson;
private String title;
private String checkDate;
private String checkHour;
private Integer stationId;

------解决方案--------------------
id:0
stationId:1
title:11
checkPerson:自己
checkDate:2013-11-08
checkHour:1:30 上午