This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
download file [using Action class]
Joined: Dec 17, 2003
May 06, 2005 11:32:00
I've uploaded file in DB (Blob field)...and I want to download file using
framework...Code that works in
same will run with Action class or its a wrong approach?
Using Struts, what are the approaches for file downloading from database.
Joined: Feb 20, 2001
May 06, 2005 11:34:00
You write the data to the output stream and return null as the forward. That indicates to the ActionServlet that you took care of the request already and no further forwarding is required.
James Carman, President<br />Carman Consulting, Inc.
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: download file [using Action class]
How to Download a file
How can I upload multiple files using html:file
Downloading file - Problem in struts?
How to Download XML file from database?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015