I have written a class for creating excel sheet using jexcel API.
As of now I am hard coding the path of excel sheet eg c:\sample.xls. And the excel sheet is getting generated in c drive.
My requirement is that I should only set the name of the excel sheet and when I execute the program it must popup the "file download" box which asks whether we want to save the file or open the file with selected program.
Could you please help me in enabling this feature?