I've included jakarta-poi-1.5.1-final-20020615.jar file to read content from ms word.
I am unable to do this ...can anyone help me?
I've included jakarta-poi-1.5.1-final-20020615.jar file to read content from ms word.
I am unable to do this ...can anyone help me?
Use this code with apache-poi
Here is quick guide
You need to move to a newer version of POI - the one you're on is about 9 years old! Grab the latest version of POI (it's just Apache POI now, hasn't been Apache Jakarta POI for a few years now), you'll want either 3.7 Final or 3.8 beta 2 as of writing.
Then, have a read through the HWPF docs and you should be good to go.
This method will print the internal runs of the entire document so you will be able to compare the values based on xml text.