I am trying to read excel files using jXLS library with Spring 3.x. The problem is I have a couple of date columns in excel file with mm/dd/yyyy format but when I am reading them back into java bean, they are turning up as NULL.
I tried the conversion mechanism mentioned in jXLS Reader
Am I missing any configuration or implementing jXLS configuration wrongly? TIA.
You can check XLSReader example in https://bitbucket.org/leonate/jxls-demo project. It reads
Employee
birth dates intojava.util.Date birthDate
property and prints them. The XML configuration for this part looks like thisIn the input Excel file you should have properly formatted Date cells like
8/18/1978
.