The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
September 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

convert word document to html across net.

Posted by pradeep rangdal on January 24, 2002 at 11:48 AM

hi you have two options..
1. save the word document as web page (*.htm, *.html) on the client side before uploading and upload the .htm and use it straight way. but if the document contains any images or refers to any external files that also need to be uploaded along with maintaining the same directory structure.

2. read the word document as binary array and keep it with db as blob. now u can always read it from db as rs.getBytes() and write it over an html.

if u have any queries or face any difficulties call me i shall get u the code example
thk
Pradeep Rangdal
pradeepr@cybage.com

> hi all,
> we are using tomcat on linux as a server and our task is to convert a word document, that is uploaded to the server into html page, so that while displaying, it will look like a html page.
> If anybody knows the code plse mail me.
> Tnaks & Regards
> Sarada Prapoorna.V
> Goldstone Technologies Ltd.,
> Secunderabad.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us