• 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
Add multiple files as attachment to WOResponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Add multiple files as attachment to WOResponse


  • Subject: Add multiple files as attachment to WOResponse
  • From: "pavan.jayam" <email@hidden>
  • Date: Thu, 24 Nov 2011 11:28:04 +0530

Hi List,

I am attaching a excel file to response, when i get response form appendToResponse i am downloading the attached excel file.

public void appendToResponse(WOResponse aResponse, WOContext aContext) {
aResponse.setHeader("application/vnd.ms-excel", "Content-Type");
aResponse.setHeader("Content-Disposition", "attachment; filename="+file);
aResponse.appendContentData(excelData);
}


but i need to send multiple files(excel files) as attachment to the WOResponse.

If it is possible please let me know.

Thanks in advance.

Regards,
Pavan.

_______________________________________________
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: Add multiple files as attachment to WOResponse
      • From: "Jérémy DE ROYER [INGENCYS]" <email@hidden>
  • Prev by Date: Re: Jenkins down?
  • Next by Date: Re: Create and display the Excel file(.xls) using java (poi.jar)
  • Previous by thread: Re: Jenkins down?
  • Next by thread: Re: Add multiple files as attachment to WOResponse
  • Index(es):
    • Date
    • Thread