1.继承 ActionForm 的类的所有字段必须为 String 型
2.由于 Date 型转换为 String 需设置 DateFormat ,所以你 Bean 里的日期字段最好用 String
这样就不会出现类型转换错误了。
1.继承 ActionForm 的类的所有字段必须为 String 型
2.由于 Date 型转换为 String 需设置 DateFormat ,所以你 Bean 里的日期字段最好用 String
这样就不会出现类型转换错误了。
转载于:https://www.cnblogs.com/tjsquall/archive/2008/09/12/1289943.html