Results 1 to 2 of 2

Thread: How to display data from csv file to web application

  1. #1

    Question How to display data from csv file to web application

    Hi,

    I know spring can export data to csv file on web MVC.

    But, How can I do the other way around?
    I have a csv data and I would like to display it on the web application as a table.

    For example:
    my csv data
    Code:
    coloum 1;coloum 2;abc;12345
    and display the data in a table (Sorry, I meant to create a table, but I don't know how so I can display as a table instead the html code)
    HTML Code:
    <table>
       <tr>
          <td>coloum 1</td>
          <td>coloum 2</td>
          <td>abc</td>
          <td>12345</td>
       </tr>
    </table>
    Can anyone point me to the right direction on how to do this.

    Thanks,

  2. #2
    Join Date
    Jun 2006
    Posts
    15

    Default

    Is your question about how to display the CSV data or how to parse the CSV in order to display the data ?
    If your question is about how to display, I suggest you to use the display tag library.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •