Please do not post the same question multiple times. Let's continue the discussion in this
duplicate thread where you got an answer already.
I am using apache poi 1.1 api.
Really? Why? That must have been released in 2002. Since then there have been dozens of POI releases.