File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JEXCEL to JSP

 
Chinni Bujji
Ranch Hand
Posts: 60
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic