Is your application is web application or desktop application?
1. If it is web application you need to use HTML page similar to the one given below for file browsing and use file upload packages and upload the file. <input type="file" name="somename" size="chars">
2. If it is a desktop application and using swings etc, you should have file browse botton in it API. Take the location of the file and in your java class use java.io package copy the file to location passed as input parameter.
Sharing is learning
Joined: Sep 09, 2005
Thank you Arun i am doing a web application i , can you tell me how to write a jpg file in to the disk?