PDA

View Full Version : Excel Sheet on click of a hyperlink using Springs FrameWork


sreekant_p
Jun 6th, 2008, 01:48 PM
Hi ,

I am new to Springs and i have a small requirement where in onclick of a hyperlink , a pop up needs to be opened and it should show an excel sheet with a set of data.

I tried using response.setHeader and response.setContentType but the excelsheet being opened is not formated.

Can i have some sample code how to configure and show an excel sheet on click of a hyperlink.

Thanks in Advance

Sree

dr_pompeii
Jun 6th, 2008, 03:10 PM
I tried using response.setHeader and response.setContentType but the excelsheet being opened is not formated.
so how you generate your xls file?

Can i have some sample code how to configure and show an excel sheet on click of a hyperlink.
so how you generate your xls file?, jasper report would be useful

regards