---
title: "struts1.x---BeanUtils"
author: "feidaodalian"
date: "2010-08-23T10:41:23Z"
tags: ["Java"]
categories: ["企业架构"]
slug: "struts1-x-beanutils"
draft: false
lastmod: "2010-08-23T10:41:23Z"
id: 744806
url: "https://feidaodalian.iteye.com/blog/744806"
---

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();
		}