aspose file tools*
The moose likes Struts and the fly likes Email Attachment download Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Email Attachment download" Watch "Email Attachment download" New topic
Author

Email Attachment download

vivek mahajan
Greenhorn

Joined: Jun 18, 2009
Posts: 22
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

Joined: Sep 29, 2008
Posts: 12617

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.
 
Don't get me started about those stupid light bulbs.
 
subject: Email Attachment download