This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Hello, I hope you can help me with this problem. I need to read an excel file and transfer the contents to a csv file, including the null values. It seems that my program couldnt read the null values because, it skips it and prints the next value in the csv file, hence my csv file would always look like this:
instead of this:
I hope you can help me. thank you!
SCJP/OCPJP 6 | SCWCD/OCPJWCD 5 | OCMJEA in progress...
What do you mean by "null value" in an XLS file - an empty cell? That would mean the code outputs some number ("2" in this case) where the cell was empty. That sounds more like a flaw in the application logic than a POI problem, but somehow I think I'm misunderstanding what's going on. Maybe you can provide some more detail.