CSVWriter Problem

Hello Friend! Will u plese tell me how to Write data in to the csv file

I am Using CSV Writter But its not writting anything and that file or not Giving any error to

Will u please tell me this...

Here is my code

import tk.csv.*;

import java.io.FileWriter;

import java.io.IOException;

public class csvFileWriter

{

public static void main(String[] args) throws IOException

{

try

{

//Code for writing data in to csv file

//String myString = "first\t\u00f6\u00e4\t\t\u902e\u904f fourth";

CSVWriter w = new CSVWriter(new FileWriter("/home/sathish/Desktop/test/project_net/core/FirstAssignment/Excel&CSVFile/prequallist.csv",true));

//FileWriter f1=new FileWriter("/home/sathish/Desktop/test/project_net/core/FirstAssignment/Excel&CSVFile/prequallist.csv");

// feed in your array (or convert your data to an array)

//String[] entries ={"alkjd","hkjshf"};

String[] entries="first#second#third".split("#");

w.writeLine(entries);

}

catch(IOException e)

{

e.printStackTrace();

}

}

}

[1150 byte] By [SandeepSalunkhea] at [2007-11-27 11:56:21]
# 1

w.close() might help and is writeLine even viable? i didn't find it in the API

mark07a at 2007-7-29 19:07:07 > top of Java-index,Java Essentials,Java Programming...
# 2

he is not able to write forget about w.close() Thats not an issue !!!

AmitChalwade123456a at 2007-7-29 19:07:07 > top of Java-index,Java Essentials,Java Programming...
# 3

> he is not able to write forget about w.close() Thats

> not an issue !!!

ya but hes still going to want it

mark07a at 2007-7-29 19:07:07 > top of Java-index,Java Essentials,Java Programming...
# 4

Yes but is there any method called writeLine() exists in java ?

AmitChalwade123456a at 2007-7-29 19:07:07 > top of Java-index,Java Essentials,Java Programming...
# 5

> Yes but is there any method called writeLine() exists

> in java ?

Did you even read the whole comment? i also said something about that

>w.close() might help and is writeLine even viable? i didn't find it in the >API

mark07a at 2007-7-29 19:07:07 > top of Java-index,Java Essentials,Java Programming...