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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply 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: 744
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

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Client to server file upload
 
Similar Threads
JavaMail API error
sending attachment with mail
How to send email with no attachment?
FileNotFound Exception
Problem in Mail Attachemnt using JSP