I am new to
struts 2
i created an action class that insert data from
JSP page to a bean using modelDriven interface.
the problem is that i have some non
string properties in the bean like Long, Date ... etc
the problem is:
when i press submit button in the jsp page i get an error saying that it did not find the a string setter for that particular property.
for example if i have in my bean
when the action class that implement the model driven is exectuted, it fires a run time exception
is there anyway to solve this problem without writing a String setter for my Date property?