Probably a trivial question.
If a user wants to upload a file in a web interface he can easily use Spring's MultiPart support for it. But does Spring support automatic databinding for file types like Excel ? Maybe something like registering a custom editor that populates a bean holding a reference to some Excel value object (cfr. poi).
I did notice Spring supports Excel as an integrated view technology via AbstractExcelView, but 1) I'm not sure if I should use this as a value object and 2) I don't immediately see how a Controller can set the url on an AbstractExcelView (wich would populate the poi workbook).
The only way I see is using POI directly in my Controller.
But maybe I'm completely confused, and gave part of the answer without realizing. In that case put me on the right track :wink:
Regards,
M


Reply With Quote