WebWork/struts2中格式化輸出數(shù)字和日期的方法
摘要: struts2中格式化輸出數(shù)字和日期的方法
資源文件
......
#格式化數(shù)字或時間輸出
global.format.date={0,date,yyyy-MM-dd}
global.format.money={0,number,¥##0.00 '元'}
......
JSP文件
格式化時間:
格式化數(shù)字:
閱讀全文
posted @
2008-01-13 17:46 Ke 閱讀(7363) |
評論 (0) 編輯