TestFormBean testformbean = (TestFormBean) form;// TODO Auto-generated
Test test=new Test();
try {
BeanUtils.copyProperties(test, testformbean);
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InvocationTargetException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}[
struts1.x---BeanUtils
最新推荐文章于 2020-04-10 15:12:44 发布