Forums Register Login

Displaying word doc in web page

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
 


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.
+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
Checkout Jakarta's POI if you need to stick with Java based solutions

http://jakarta.apache.org/poi/index.html
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2777 times.
Similar Threads
Displaying a .doc file in MSWord, not in a browser
IFrames and understanding third party cookies
Convert PDF into HTML
problems in showing images in jsp with contentType= application /msword
read generated html page and write into word doc?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 17:33:46.