File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying word doc in web page

 
siddiq niyaz
Greenhorn
Posts: 2
  • 0
  • 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
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • 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
  • 0
  • 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
 
Balan Raj
Ranch Hand
Posts: 74
  • 0
  • 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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic