aspose file tools*
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
Author

JEXCEL to JSP

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
Marshal

Joined: Mar 22, 2005
Posts: 41489
    
  53
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JEXCEL to JSP