This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Email Attachment download
 
Similar Threads
Getting part 2 ?
email server
email attachment
SCWCD 5 LOGO
second-hand simulator.