At 2:29 PM +0200 4/30/04, Nicolas De Loof wrote:
Hello,

I just discovered the use of BeanUtils.copyProperties to populate my formbeans from business objets. I would like to
know where to configure my Converters (using ConvertUtils.register) ?


I use a static initialiser in my BaseAction class. Do you have something better to suggest ?

A PlugIn would probably be cleaner (or, if you are using Servlet 2.3 and if you prefer, a ServletContextListener).


See
http://jakarta.apache.org/struts/api/org/apache/struts/action/PlugIn.html
http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletContextListener.html

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to