Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Download excel file with images

 
Vassili Vladimir
Ranch Hand
Posts: 1585
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an excel file which I want to download through Servlet code. The problem is that the excel contains multi sheets and each sheet contains text plus images.

How can I download the file as is?

Thanks in advance.
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet would stream it to the client like any other binary file; see http://faq.javaranch.com/java/CodeBarnSimpleStream for an example of that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic