• Post Reply Bookmark Topic Watch Topic
  • New Topic

Extract a word document and storing in db  RSS feed

 
Sunil George
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working in a Java Web Based application. Now I want to upload a letter template in MS Word(.doc) format into the database(in BLOB type in Oracle). Later I want to create letters based on this template in DB in .rtf format. I am new to this type of work. Could you suggest how can I extract the word template using java code and store it into db?

Thanks in advance,

Sunil George
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "extract"? From where does the doc file need to be extracted?

If you need to create or alter existing RTF or DOC files, check out the POI and OpenOffice APIs (links are here).

How to store that in a DB is a question for the DB forum.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ulf Dittmer:

How to store that in a DB is a question for the DB forum.


That would be the JDBC forum...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!