This discussion is archived
1 Reply Latest reply: Jan 12, 2007 4:56 AM by 800322 RSS

Reading a File !!!

807599 Newbie
Currently Being Moderated
I've to read a file from the directories and display it on the jsp page in the tabular format. Whenever it encounters , or " it should be putted into the particular column and when it encounters the next line it should go to the next row. I'm not able to get this thing, i've tried with bufferedreader. Suppose here is the example :

i've the text file in the format as:
123, abc, ert , wert , 2/3/2007 10:34, 2/12/2006 12:24 , 23
235, aer, er, asdff, 2/12/2006 12:12, 3/1/2007 10:24 , 12
........

i want to display in the jsp page as tabular format as:

Roll No. name desig post access date deliver date count
--------------------------------------------------------------------------------------------------
123 abc ert wert 2/3/2007 10:34 2/1/2007 12:24 23
235 aer er asdff 2/12/2006 12:12 3/1/2007 10:24 12
--------------------------------------------------------------------------------------------------

please help me out !!!!!
in advance thanks a lot..............