aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Client to server file upload 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 » Java » Other JSE/JEE APIs
Bookmark "Client to server file upload " Watch "Client to server file upload " New topic
Author

Client to server file upload

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 751
hi i am using java mail to send a file.

I want to send a file as an attachment using java mail.

and bellow is the code which create file data source, And file data source takes a string path, so how do i upload file from client. if the client specifies the path. bellow code looks for file on the server.



Jigar Naik


Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi Friend,
I think this link will help you

web page
[ December 24, 2008: Message edited by: vinoth thirunavukarasu ]

Java Best Practices
Linux Best Practices
Amortization Calculator

 
wood burning stoves
 
subject: Client to server file upload
 
Similar Threads
FileNotFound Exception
How to send email with no attachment?
JavaMail API error
Problem in Mail Attachemnt using JSP
sending attachment with mail