Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to populate data in JSF - data table from Excel?

 
Raghu Sha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JSF,richfaces.
Need to import data from Excel file and show it in datatable.

How to achive this?


Thanks
 
Tim Holloway
Bartender
Posts: 18423
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll need to do a file upload of the Excel data.

Once you have that data on your server, there are several Java libraries that can extract data from it into forms more friendly to general Java use.

There's really nothing JSF-specific in this, excepting the (optional) use of a JSF page with a JSF file upload control on it.
 
Yup, yup, yup. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!