<s:iterator id="list" value="%{userList}">
以前是单纯的<s:property value="#list.account"/>这样输出
输出的日期格式如下:2013-11-11 15:45:54.000
经过查询struts中有日期格式化标签
<s:date name="#list.feeTime" format="yy/MM/dd hh:mm" />
输出结果:2013/11/11 03:45
<s:date name="#list.feeTime"/>没有设定格式的,
默认是:2013-11-11 15:45:54
<s:date name="#list.feeTime" nice="true" />
nice属性为true会显示要输出的日期在今天的哪一天,现在时间为2013-11-12,要输出的日期是2013-11-11 15:45:54
当nice=true时会显示:one day ago
</s:iterator>