Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

Jakarta POI

 
ford Darcy Jr
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,

I am using Jakarta POI to write to excel using servlets. I am using a formula to calculate the sum: cell1.setCellFormula("SUM(A1:A2)"). But I am getting this error: Method setCellFormula(String) not found. I am also importing this package: org.apache.poi.hssf.usermodel.HSSFCell. Could you please tell me where I might be going wrong.

Thanks.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Ford,

You may get some answers if you post in the Open Source Projects forum. I know people have been discussing POI in there recently.

This forum is for questions relating to servlets.

Cheers.
 
ford Darcy Jr
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry about that and thanks a lot. I have also posted it in there.

Thanks.
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
No problem.

Cheers.

Dave.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
The other thread is here, I'm closing this one.

Dave
 
    Bookmark Topic Watch Topic
  • New Topic