-
exporting to excel using jsp (9 messages)
- Posted by: vaidhyanathan badri
- Posted on: March 30 2005 04:30 EST
hi,
i have a problem when i open any excel file via a browser
i'm unable to view the results in excel format;so i gave mime-mapping as follows
<mime-mapping>
<extension>xls</extension>
<mime-type>application/excel</mime-type>
</mime-mapping>
also i included this in the jsp
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","inline; filename=" +"C
"+"filename.xls");
after this its opening in excel format in the browser with no close button and no data
please help me asapThreaded Messages (9)
- exporting to excel using jsp by Anil Kumar Sadineni on March 30 2005 16:49 EST
- thanks by vaidhyanathan badri on March 31 2005 09:29 EST
-
provide by jamal lotfy on September 14 2012 02:30 EDT
-
provide by Vineet Rao on September 17 2012 07:59 EDT
- miss understood by jamal lotfy on September 21 2012 09:52 EDT
-
provide by Vineet Rao on September 17 2012 07:59 EDT
-
provide by jamal lotfy on September 14 2012 02:30 EDT
- How to output data of a JSP page in excel file format by Little Bee on September 01 2005 21:22 EDT
- Export JSP data in Excel (xls) by Tobias Heine on December 15 2005 01:27 EST
- thanks by vaidhyanathan badri on March 31 2005 09:29 EST
- Export JSP to Excel by Vineet Rao on September 13 2012 14:28 EDT
- Export JSP to Excel by Vineet Rao on September 13 2012 14:36 EDT
-
exporting to excel using jsp[ Go to top ]
- Posted by: Anil Kumar Sadineni
- Posted on: March 30 2005 16:49 EST
- in response to vaidhyanathan badri
How are you opening the excel file?
Are you providing the link in your jsp page for excel file stored in server file system? or
You are trying to show the output data of a JSP page in excel file format ?
Anil Saidneni -
thanks[ Go to top ]
- Posted by: vaidhyanathan badri
- Posted on: March 31 2005 09:29 EST
- in response to Anil Kumar Sadineni
i solved the problem -
provide[ Go to top ]
- Posted by: jamal lotfy
- Posted on: September 14 2012 14:30 EDT
- in response to vaidhyanathan badri
please provide details on how to solve it
-
provide[ Go to top ]
- Posted by: Vineet Rao
- Posted on: September 17 2012 19:59 EDT
- in response to jamal lotfy
please provide details on how to solve it
Please see the details posted by me on this thread for an example of how to add excel functionality to your JSP code
-
miss understood[ Go to top ]
- Posted by: jamal lotfy
- Posted on: September 21 2012 21:52 EDT
- in response to Vineet Rao
I was speaking of
>>how to after this its opening in excel format in the browser with no close button and no data
please help me asap<<how did you solve this problem the no close button ??
-
How to output data of a JSP page in excel file format[ Go to top ]
- Posted by: Little Bee
- Posted on: September 01 2005 21:22 EDT
- in response to Anil Kumar Sadineni
Can you share with me how to output data of a JSP page in excel file format ? Thanks. -
Export JSP data in Excel (xls)[ Go to top ]
- Posted by: Tobias Heine
- Posted on: December 15 2005 13:27 EST
- in response to Little Bee
Just insert into your JSP the following line of code.
Life long and prosper
Tobias -
Export JSP to Excel[ Go to top ]
- Posted by: Vineet Rao
- Posted on: September 13 2012 14:28 EDT
- in response to vaidhyanathan badri
Its fairly simple and can be done with minimum changes to your existing JSP. Take a look at this example on quicklyjava.com:
http://www.quicklyjava.com/export-web-page-to-word/
-
Export JSP to Excel[ Go to top ]
- Posted by: Vineet Rao
- Posted on: September 13 2012 14:36 EDT
- in response to Vineet Rao
Ignore the link in the previous post, here is the correct link: