Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!