• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Apache POI  RSS feed

 
Paras Ahuja
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I want to read contents of an excel file, get the last row containing data and then add a new row (below the last row) in the same file i.e
basically i want to read and write to same excel file using Apcahe POI. How can i do that?
Thanks in advance....
 
rohit chavan
Ranch Hand
Posts: 133
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
3 simple steps.

1. Download Apache POI jar/s.
2. Configure it.(with Eclipse or whichever IDE you have)
3. check their samples page http://poi.apache.org/spreadsheet/examples.html

If you face any issue after this, please post the same.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!