I have a jsp page where user enters some parameter and then get the results. Now, i want to give him a choice of viewing this in MS-Excel.So, My controller would recieve the request, query the database and then send the results to MS-Excel. I know how to do the query but have no idea how i should send the results to excel. I know how to send the regular data to excel like:
Could anyone please guide me how to get the results from the database to show in Excel program. I would really appreciate it. Thanks a lot!