Once I created a form builder where user could select any number of fields for a web form. The tool then produced a code snippet which user could copy in the JSP.
The submitted form data was stored as a key-value pairs in the DB, so basically just two columns were required for the form specific data. If I remember right, the processing of the DB data was required to be done outside Java.
So creating nice excel output of this was a bit tricky. I ended up using iReport and its crosstab functionality but it wasn't a nice experience.
Are there better ways to store such form data than just using key-value pairs? Or are there some nice approaches to crosstab/pivot key-value data for reporting?