Displaying MS Word File in browser

10-11  Source: Network gathering  Views:0 

Can anyone pls tell about the method to display MS word file present in a folder in my site on the browser.
I dont want it to give it as download dialog box.
It may still be easier to use Google Documents.
But if you don't want to do that, I suggest that you check SourceForge or jakarta.apache.org. There's a project called POI that lets you process some Microsoft Office documents in Java (Excel in particular), and there's probably one that deals with Word docs. Someone may have already written a utility that uses that to turn Word into HTML. Then you could tie that into your servlet environment.
Trying to display the Word file on the user's browser, directly, as a Word file and not processed into something else, is likely to be a tremendous pain in the butt.
Another thing you could possibly do is convert all your Word documents into HTML or XML or some other more portable format, before you even install them on your server. Make it part of your build/deployment process. It sounds a bit painful, and it might be at first, but doing things at build time is much nicer than doing it at run time.
Generally, I'd advise moving away from Word format completely, even before build time, if you can possibly get away with it.
Related articles
  • Displaying MS Word File in browser 10-11

    Hello, Can anyone pls tell about the method to display MS word file present in a folder in my site on the browser. I dont want it to give it as download dialog box. Thanks SharathIt may still be easier to use Google Documents. But if you don't want t

  • Display MS word file in Office control 11-30

    Hi all, I am using the Office control UI element to display a MS word file in WD application. I have created a Mime object for the word file and get this file data into a Xstring attribute, and bind this attribute with the datasource property of the

  • Displaying a word file stored as BLOB in the database 10-11

    Post Author: Sathish K Sekar CA Forum: WebIntelligence Reporting Hi, Is it possible for us to display a word file which is stored as a BLOB object in  our database. We are using BO XIR2. Thanks in advance SathishPost Author: InfluentialSoftware CA Fo

  • Reading/Displaying MS Word file in Flex application 11-30

    Hello, Is there any way, by which I can read/display word file as it is in Flex application (Web based). Is there any way or work around by which I can achieve this.Hello, You can find swc-s that convert doc files to pdf files, you can also convert o

  • Displaying *.pdf file on browser with servlet 10-11

    hi all this RAMESH,struggling to display a pdf file on browser from a remote mechine earlier i tried with servlet response.setContentenType("application/pdf") out.println(); by this i am getting only some data as below endobj 4 0 obj << /P

  • Display word file from web repository 11-30

    Hi, I have an application that stores word files in the sap web repository. Now I need to display a word file in webdynpro. There are examples where a word file is displayed by the ui element officecontrol from mime repository. How I can get access t

  • Diaplay  Word file stored in blob into a browser using JSP 10-11

    Dear All I have files stored in oracle table in a blob field.I store the files using forms 10g and webutil. I can upload the files and display them successfully in forms, however when i use JSP to retrieve the files and display them in Internet Explo

  • Want to open a new browser window and display the html file in locale disk. 10-11

    Hi, I want to open a new browser window and display the html file in local drive. The below html applet work in local system successfully. But i deploy the same in web server (Tomcat) and try the same in client machine it does not work. Please help.

  • How can I retain the attached .pdf files (displayed as icons) from my word file 2010 to a pdf file? 10-11

    Hi everybody, I have looked for an answer in this forum ... without any good result. I worked on a Word 2010 file with some attached pdf files. These attached files are displayed as icons on the word file. If you double click on them, you can consult

  • IE Browser not able to display a PDF file within the Browser window ... 10-11

    Hello acrobat experts! I'm now writing a plugin for the acrobat. According to my customer requirements, the pdf file is expected to be displayed within the MS IE browser widows. It worked within adobe Reader and Acrobat 7.0.x. Now I wanted to test my

  • Displaying PDF file in browser 10-11

    Hi, I want to display a PDF file in a browser which I have generated at runtime. I do it in this way: HttpServletResponse response = ((com.sap.tc.webdynpro.services.sal.adapter.core.IWebContextAdapter) WDWebContextAdapter.getWebContextAdapter()).getH

  • How to display an XML file as it is in browser that XI sent to my J2EE appl 10-11

    Hi all! I have a scenario like File->XI->J2EE appl. The file is getting picked up from my machine by XI. Now XI should send that XML file to my J2EE appl. My servlet receives that XML and displays as it is in browser. But am getting some error like:

  • Color Display for PDF Files Creative Cloud in Browser View 10-11

    I have noticed that there is a great difference in color display between a PDF and .ai/eps files. When viewed in the browser there seems to be no ICC taking affect for PDF files even though options to include the profiles, etc in output were selected

  • Trying to display a pdf exported report file in browser 10-11

    i am getting null pointer exceprtion when try to close the report browser. the same code is working perfectly in adobe reader 8. i am getting this problem adobe reader 9. i am exporting the report file as a pdf and saving locally. report is displayed

  • Word 2007 file not displaying from CHM file link 10-11

    Hello all!  I took the time to search around the forum before posting this, so I hope I didn't miss the answer somewhere. I'm using RH 8, working on a Policy and Procedure manual, resulting in a CHM file.  I've worked in earlier versions of RH with t

  • When I try to display .pdf file in browser (with proprietry extension .dnax) I get the error message "A plugin is needed to display this content". 10-11

    I am trying to display a .pdf file within Firefox on a Vista PC. I have changed the extension from .pdf to .dnax to differentiate this .pdf file from others. I get an error message as above. The file is displayed using Firefox on another PC with a Li

  • How to display RTF File in Browser Using Servlets/JSPs 10-11

    Hi All, I have some RTF Files, which contains some data. The data needs to be displayed in the frame of jsp page . How i can display the RTF File Content using either servlets/jsps Can any body have idea on this. Help me out on this. With Regards Har

  • Display .XLS file in Browser 10-11

    Hi All, I am trying to display the .XLS file from a JSP page. by just using a PopUp using Java Script. But is just displaying some junch data (which may be binary) Can some one help me out to resolve this. Thanks ShravanAre you using the right conten

  • My Office 2007 Word Files are all corrupted. Can't open any of them. 10-11

    I can create and open new 2007 Word files.  However, all my files prior to 10/27/2014 cannot be opened.  I get a corrupted message.  Says the file cannot be open because there are problems with the content.  Then asks me if I want to recover the cont

  • How do I display a PDF file in Adobe from h:commandLink or h:outputLink 10-11

    I am looking to add a simple "Help" link on my header. The idea is to add an h:outputLink or h:commandLink component and when it is clicked, an existing PDF file will be displayed in the default (Adobe) viewer. Can anyone give me a simple exampl