File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 42965
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 shows how to stream binary content from a servlet to the browser.
I agree. Here's the link:
subject: JEXCEL to JSP
It's not a secret anymore!