I people, I heve some files stoored into a Database

I store the FileName as String, the FileData as NSData anche the Mime type as String...
Everything works fine...

I have a WOComponent with this method to display/download the page

public void appendToResponse(WOResponse response, WOContext context)
{
response.setHeader(theMimeType,"content-type");
response.setContent(theFileData);
}

also this works very fine, but...
can I set the file name?... If I downlod the file, the name become the hyperlink name like "1.3.6.9.0"

Thanks

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to