<bean:write>的使用时候,如果需要格式化,可以采用以下方式
<bean:write name="dataBean" property="modDate" formatKey="global.formatDateTime"/>
MessageResources.properties中定义一下message
global.formatDateTime=yyyy/MM/dd/ HH:mm:ss