Hi,
I have a requirement to build a webservice in which i have to read a CSV file from a location.Please not that WebService.
I have used something like this in local(the file is in my C: drive).
"
String csvFile = "C:/new.csv";
BufferedReader br = null;
br = new BufferedReader(new FileReader(csvFile));
while ((line = br.readLine()) != null)
{
String[] country = line.split(cvsSplitBy);
...blah blah..and the functionality goes...".
Can anybody tell me how to read a file in WebService like how to give path,how to get that file, reading path and etc.
any help is appreciated.
Thanks in Advance.