• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
File download question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File download question


  • Subject: File download question
  • From: Amedeo Mantica <email@hidden>
  • Date: Fri, 3 Feb 2006 15:33:47 +0100


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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: File download question
      • From: Miguel Arroz <email@hidden>
  • Prev by Date: Re: D2WQuery Component Frustration
  • Next by Date: Re: File download question
  • Previous by thread: Re: Feedback on development on MacTel iMac
  • Next by thread: Re: File download question
  • Index(es):
    • Date
    • Thread