my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet which downloads a file" Watch "Servlet which downloads a file" New topic
Author

Servlet which downloads a file

aarati12
Greenhorn

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

Joined: Jan 07, 1999
Posts: 6920
"aarati12",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . 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.
Thanks.

Read about me at frankcarver.me ~ 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
Amit


<I>Chance Favours the Prepared minds"</I>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet which downloads a file
 
Similar Threads
Access Servlet InitParameters in JSP
Jsps and Servlets
how 2 call ejb file using servlet
Tomcat relodable="true" not working
accessing servlets