在Structs中<bean:write name="" property="" format=""/>中,format可以用来格式化输出,如 format="0.00%",如果是0.152,那么输出的就是15.2%,如果改成format="RMB:000.00" 原来的值是100,那么输出的就是RMB:100.00.