The moose likes Other JSE/JEE APIs and the fly likes JEXCEL to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JEXCEL to JSP" Watch "JEXCEL to JSP" New topic


Chinni Bujji
Ranch Hand

Joined: Jan 31, 2007
Posts: 60
I am trying to send output to the JSP by using the JEXCEL technique
but i am not able to do it please help

I wrote the following code and after that what do i need to do in the JSP to view this excel sheet

is it the right way i am creating the workbook
that is is it the right parameter that i am passing in the createworkbook method

please help
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41141
If this is part of a JSP, then you need to convert that into a servlet; JSPs can't stream binary content (like XLS files). The "Simple Stream" example in http://faq.javaranch.com/java/CodeBarnServlets shows how to stream binary content from a servlet to the browser.

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: JEXCEL to JSP
Similar Threads
how to estimate Time to download a file using JSP
Writing a content in excel in incremental way
Problem: nothing works in jsp after downloading Excel.
Printing contents
File downloading issue with Tmcat 6.0