Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Bear Bibeault
Henry Wong
Devaka Cooray
Saloon Keepers:
salvin francis
Tim Moores
Tim Holloway
Stephan van Hulst
Frits Walraven
Bartenders:
Jj Roberts
Carey Brown
Scott Selikoff
Forum:
Tomcat
Send mail with attachments
Sree Jag
Ranch Hand
Posts: 77
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi all,
I am writing an email application with attachments. i realise that we should store the file that is selected by the client on the client machine in a temporary directory on the server that is running the email application.
I am using
tomcat
5.0.19
can somebody please tell me how to store the file on the server temporarily and delete it after sending the mail?
Thanks in advance,
Seshu
Sree Jag<br />SCJP 1.4
Mike Curwen
Ranch Hand
Posts: 3695
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
you will need some sort of 3rd party "file upload" package.
There are two popular (free/nearly free) ones:
http://www.servlets.com/cos
http://jakarta.apache.org/commons/fileupload/
[ July 12, 2004: Message edited by: Mike Curwen ]
My pie came with a little toothpic holding up this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
sending attachments using javamail
How to Save applet page as a JPG file
Uploading files
java mail attachments
Email Attachment download
More...