Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Servlets and the fly likes Servlet which downloads a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet which downloads a file" Watch "Servlet which downloads a file" New topic

Servlet which downloads a file


Joined: Mar 30, 2001
Posts: 4
How can I write a servlet to down load a file.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Amit Roy
Ranch Hand

Joined: Oct 10, 2000
Posts: 132
hi Aarti
I think u can easily use the upload servlet example provided by the "Inside Servlets" book by Callaway i have used it myself You can also make changes easily in the servlet to canfigure it according to your needs

<I>Chance Favours the Prepared minds"</I>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Servlet which downloads a file
It's not a secret anymore!