This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Jakarta POI
 
It's not a secret anymore!