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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Client to server file upload " Watch "Client to server file upload " New topic

Client to server file upload

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 760
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

Have you tried LearnNowOnline?
subject: Client to server file upload