最近做一个项目,要用到struts的标签库,虽然以前也用过,还是很头疼,觉得没有jstl好用。以下是两个struts标签库介绍比较好的资料:
http://www.solol.org/technologic/java/j-struts/
http://www.blogjava.net/mrklmxy/archive/2007/07/16/130542.html
格式化显示数字:
<bean:write name="plan" format="###.##" property="linelength220"/>
格式化显示日期,例如将2007-06-09显示为06.09
<bean:write name="plan" format="yy.MM" property="projcreatedate"/>