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.
The moose likes Servlets and the fly likes Jakarta POI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

Jakarta POI

ford Darcy Jr
Ranch Hand

Joined: Jan 26, 2005
Posts: 76
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

Joined: Jul 20, 2005
Posts: 293

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

Joined: Jan 26, 2005
Posts: 76
Sorry about that and thanks a lot. I have also posted it in there.

Thanks.
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

No problem.

Cheers.

Dave.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The other thread is here, I'm closing this one.

Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jakarta POI