`

struts1.x---BeanUtils

阅读更多
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();
		}[
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics