aspose file tools*
The moose likes Other Open Source Projects and the fly likes Reading Microsoft Word Document in JAVA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Reading Microsoft Word Document in JAVA" Watch "Reading Microsoft Word Document in JAVA" New topic
Author

Reading Microsoft Word Document in JAVA

Satheeshkumar Subramaniam
Greenhorn

Joined: Jul 06, 2009
Posts: 21
Hi friends,

im using follwing code to read word document in java using apache poi package..



but im getting exception that



how to solve this issue.. please suggest me .. its urgent..


[Henry: Added Code Tags]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39854
    
  28
There's no such thing as "urgent" here. And we can't read your code without code tags.
Himanshu Kansal
Ranch Hand

Joined: Jul 05, 2009
Posts: 257
Is Hello.doc a valid word doc?
Is it placed where it is supposed to be?

And yes, as you cant go to a meeting without clothes, your code cant come here without the CODE tags
Regards


Experience and talent are independent of age
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18992
    
  40



This part doesn't make sense -- if you don't close the braces, then it is not valid syntax, then you can't compile it, and hence, you can't run it.

BTW, I added the code tags for you, but it looks like it is messy due to a combo of spaces and tabs.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19761
    
  20

Moving to Other Open Source Projects.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
salvin francis
Ranch Hand

Joined: Jan 12, 2009
Posts: 928

I am Extremely curious to know if the code does compile :



My logic says it should not, since i do not have those libraries, i cannot verify so,
but i do feel that its against the schematics of the language itself.


My Website: [Salvin.in] Cool your mind:[Salvin.in/painting] My Sally:[Salvin.in/sally]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reading Microsoft Word Document in JAVA