BeanUtils.populate&argument type mismatch - [Struts]

1.继承   ActionForm   的类的所有字段必须为   String   型   
2.由于   Date   型转换为   String   需设置   DateFormat   ,所以你   Bean   里的日期字段最好用   String     
这样就不会出现类型转换错误了。

 

posted on 2008-09-12 14:52  Squall  阅读(430)  评论(0编辑  收藏  举报

导航