Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading Microsoft Word Document in JAVA

 
Satheeshkumar Subramaniam
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 50240
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no such thing as "urgent" here. And we can't read your code without code tags.
 
Himanshu Kansal
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Henry Wong
author
Marshal
Pie
Posts: 21504
84
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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

 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Other Open Source Projects.
 
salvin francis
Bartender
Posts: 1309
10
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic