Posted By:
saurav_gupta
Posted On:
Friday, March 28, 2008 12:52 PM
How to use custom data type in bean and copy form's data into it in Struts?
I have made a date class and I want to use it in my bean class but the problem is that when I am trying to copy data from
ActionForm
to it then it gives
java.lang.IllegalArgumentException
.
My question is that is there any way to use custom classes as a data type in Beans and still use struts generic function to copy properties?