File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Email Attachment download" Watch "Email Attachment download" New topic

Email Attachment download

vivek mahajan

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

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.
subject: Email Attachment download
Similar Threads
email server
email attachment
second-hand simulator.
Getting part 2 ?