I was trying to rename the output Stream to the client when
the servlet responds to a query for a particular BLOB.
The name comes from a parameter passed in the url
Where as the request for
http://www.~.com/servlets/getBLOB?id=20&name=somefile.ppt
that is requesting a powerpoint BLOB in the database will return to
the user
This is the reason for sending the file to a FileOutputStream
instead of a outputStream.
Am I wrong in this approach?
Dylan del Rosario
Informix Software
[EMAIL PROTECTED]
503.525.7557 ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
