Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE: Issue with registering/lookup of converters in ConvertUtils

uni

2007-02-01

Replies:

Hi,

> I am not able to see the ConvertUtilsBean in the commons-beanutils-1-0.jar
> that I am using. Has this class been added in later versions of Struts?
It's part of beanutils since version 1.7:
http://jakarta.apache.org/commons/beanutils/api/org/apache/commons/beanutils/ConvertUtilsBean.html

> Also, is ConvertUtilsBean a singleton class or can I have multiple
> instances of it?
I haven't used it on my own, but it looks like you may have multiple instances
and this is exactly what you need. You may take a look at:
http://jakarta.apache.org/commons/beanutils/commons-beanutils-1.7.0/docs/api/org/apache/commons/beanutils/package-summary.html#instances

Cheers,

Thorsten


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.