File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Displaying word doc in web page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Displaying word doc in web page" Watch "Displaying word doc in web page" New topic
Author

Displaying word doc in web page

siddiq niyaz
Greenhorn

Joined: Sep 15, 2004
Posts: 2
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

Joined: Apr 14, 2004
Posts: 10336


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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
siddiq niyaz
Greenhorn

Joined: Sep 15, 2004
Posts: 2
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

Joined: Aug 26, 2003
Posts: 74
Checkout Jakarta's POI if you need to stick with Java based solutions

http://jakarta.apache.org/poi/index.html
 
 
subject: Displaying word doc in web page
 
Similar Threads
Convert PDF into HTML
problems in showing images in jsp with contentType= application /msword
read generated html page and write into word doc?
Displaying a .doc file in MSWord, not in a browser
IFrames and understanding third party cookies