Meaningless Drivel is fun!*
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 Java 8 in Action this week in the Java 8 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.
 
jQuery in Action, 2nd edition
 
subject: Email Attachment download
 
Similar Threads
second-hand simulator.
SCWCD 5 LOGO
Getting part 2 ?
email attachment
email server