Requirement: TO read a CSV file and transferring the content into an array which I can display on a JSP/HTML screen.
Description:- 1. I want to read a CSV file stored in a particular location on my computer.
2. As per my understanding, the CSV file is a comma separated file with each line representing a row in a table. The columns are separated by commas.
3. I want to store the CSV file contents in an array in exactly the same structure as the original tabular format.
4. Then I want to display the file on a JSP screen or a HTML screen in tabular format again.
Notes:- The CSV file I have is a pretty big one because it has a lot of data. The data is mostly 'string'.
Since this is the first time I am trying something like this I dont have any idea about the code. Can anyone help me out with a small example explaining me how to go about doing this?
Thank you all in advance. Eagerly awaiting a response. Thanks