File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Download excel file with images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Download excel file with images" Watch "Download excel file with images" New topic

Download excel file with images

Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

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.

Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
The servlet would stream it to the client like any other binary file; see for an example of that.
I agree. Here's the link:
subject: Download excel file with images
It's not a secret anymore!