On Thu, 31 Jul 2003, Caroline Jen wrote:
> Date: Thu, 31 Jul 2003 14:08:52 -0700 (PDT)
> From: Caroline Jen <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Converting Data Types On the Business Bean Side
>
> Does the Struts 1.1 BeanUtils class supports
> transferring data between String and native types on
> the business bean side?
>
Yes. You'll need to ensure that commons-beanutils.jar is available in the
classpath for your business logic classes, and you can then use the
BeanUtils.copyProperties() method to perform copying with conversion, or
PropertyUtils.copyProperties() to perform copying without conversion.
Craig
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]