• Post Reply Bookmark Topic Watch Topic
  • New Topic

Displaying word doc in web page  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am new bie to JSP...i want to display the content of word document(which consists both images and text) in webpage..
In html href display the whole document...but 3rd party can modify the document....But i want to display the content like word viewer (in web page)
which is not allow the 3rd party to change the document.
i convert the document into read only...how ever it prompt the user to save the file in another location..i want to avoid such disturbance...
thanks in advance
siddiq
 
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


but 3rd party can modify the document


Of course the document they are modifying is their local copy, not the original. You could probably find an Active X control which would do what you want. There's probably some third party API which can manipulate MS Word files - but I suspect that would be a lot of work.
 
siddiq niyaz
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sturrock ...
Another question.Is any other way to copy the content of word doc and save it as a temporary file(atleast only for text)?
Thanks in advance
siddiq
 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Checkout Jakarta's POI if you need to stick with Java based solutions

http://jakarta.apache.org/poi/index.html
 
I am mighty! And this is a mighty small ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!