Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Email Attachment download

 
vivek mahajan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on email application in struts, I want to download the attachments by opening the file dialog box on clicking the download link. How to do it ?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search the web for how to download files. If you're using Struts 1, stream the response yourself and return a null ActionForward. If you're using Struts 2, use the "stream" result type.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic