commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Allard" <>
Subject FileUpload question
Date Fri, 25 Apr 2003 13:42:49 GMT
This is probably a basic question, but once I've gotten a file to the mid-tier (and beyond),
how do I deliver it back to a user when requested?  I have a struts web application that needs
to handle attachments.  I can use fileupload to get the file from the client into a repository.
 What's the process of delivering it back to the user for viewing, in such a way that the
browser has enough information to know what to do? Is it possible to simply stream the file
contents to the response?  

Any help will be appreciated.

Ross Allard
Sas Institute

View raw message