struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Kyser <ktra...@comcast.net>
Subject example of PlugIn for java.sql.Date Converter registration?
Date Fri, 28 Mar 2003 02:40:10 GMT
Hi,

I want to use BeanUtils.copyProperties to copy FROM my model TO my form,
and I have java.sql.Dates in my model.

 From numerous related posts, I glean that the best place for a
a custom Converter to be registered is in a PlugIn in your 
struts-config.xml file.

1. Does anyone have an example of this they could offer up? i think I've
broken google...

2. Do you really have to do this to get a java.sql.Date from a model 
bean onto
a form as a String using BeanUtils? or is there a better way?

thanks,

-jeff




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message