Im generating report in jsp ,
I have to save this file in excel format . I tried to save this by using the file option that is File ->Save As but it does not provide me to save it in excel format. How can i save it in excel format.
My second question is that im providing a button saying it as "save" where when i press that button the report that i have mention above should save in excel format . How do i code this using Java coding .
JSPs are generally used for generating HTML. If you want to save it to something Excel can make use of, you need to generate CSV or proper XLS files (for which you'd need to use a servlet - JSPs can't create binary content).
Ping & DNS - updated with new look and Ping home screen widget