Opening an word document in a servlet

Hi,
How can i open a word document in servlets. Is any jar file required for opening this. Can anyone help out me ?
bye

I will have the same problem in my project: i think that i will load the word document in a jsp.
Because with word when you can use "save as" and you can save your document as web format.
The document will be rephrase with html marker.
You can try to save your document with this format and load it in your web browser to see if the display is good for you.

Similar Messages

  • Opening a word document for editing with webdav

    I'm not sure if this is the correct place for this question..
    I am attempting to open a word document, which resides in a webdav folder from web app. I need IE to start word and open the original document from the webdav folder and allow the user to make changes to the document and save it back to the webserver.
    Wep app this http://www.javatalks.ru/go.php?uri=http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/servlets/WebdavServlet.java
    I've got it to open the document but it seemed to have copied the document to my temporary internet files folder and opened the copy from there. The original file name is "test.doc" but the opened temprary file is "test[1].doc" and so on. How can I get it to open the original document for editing?
    Any help would be appreciated..

    Not sure about payment options but you can check for yourself at http://success.adobe.com/en/na/sem/products/acrobat/feature.html

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • HT202879 how can I open a Word document in Pages 09?

    How can I open a Word document using Pages 09 please? I am trying to open Word documents from a CD using both trying to open in Pages, nd dragging and dropping into the Pages icon in the dock. It tells me, every time, thast the document cannot be opened.

    What happens if you open it in TextEdit or LibreOffice [free]?
    Does it open where you got it from?
    Peter

  • Open a word document from a Java Application

    Hi,
    Can I open a word document from a java GUI apllication and point to a bokkmark automatically in the word document when opened.

    See this thread:
    http://forum.java.sun.com/thread.jspa?threadID=228332&messageID=810684

  • Open/save word document in jsp

    I can open a word document in jsp but i don't know how to save and close it to where i want again inside same jsp.
    I find a code that do thing i want to do but it was written in vb script.
    How can i convert vb code below to java / jsp?
    Dim wrdApp As Word.Application
    MyStr = Format(dtMyDate, "mmm dd, yyyy") & ".doc"
    Set wrdApp = New Word.Application 'released first resources
    With wrdApp
    .Documents.Add "normal.dot", , , True
    strPatientName = txtName.Text
    strFileName = "c:\MJCC\Lab\" & strPatientName & "_" & MyStr
    .ActiveDocument.SaveAs strFileName
    .ActiveDocument.Close
    .Quit
    End With
    Set wrdDoc =Nothing

    <%@ page contentType="application/vnd.ms-excel" language="java"%>
    <meta http-equiv="Content-Type" content="application/vnd.ms-excel; charset=iso-8859-1">
    by using this 2 codes, when i run this page, it will pop up a box for me to save the jsp file..
    i'm able to save it in xls / csv format...
    so, mayb you can try change the ms-excel to ms-word or something else..
    hope this is useful...

  • How can I open a word document in C++ with a CNiWordApplication object?

    Hello,
    For an application, i need to open a word document using VisualC++ and CNiWord classes (CNiWordApplication, CNiWordDocument...). I successed to create a new CNiWordDocument with the CNiWordApplication CreateDocument() function. But when using the OpenDocument() I have error message about violation error. Must I create another objet before calling the OpenDocument() function? Is it possible to have an example of code to open a word document?
    Thank you for your help.

    I tried the following code to open a doc file in an MFC application.
    CNiWordApplication word;
    CNiWordDocument doc = word.OpenDocument("c:\\books.doc");
    This worked fine for me. I tried this with Word 2003 and Measurement Studio 7.1
    Try running one of the shipping examples. You can find examples for this under ..\MeasurementStudio\VCNET\Examples\Office\
    Hope this helps.
    Bilal Durrani
    NI

  • Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (being PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (apparently because they are PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Hi Mary and Matthew
    You might find it helpful to "try before you buy" - there is a 30 day free trial offer for Office for Mac 2011, accessible from M's .com website.
    You may be able to use this period to open and resave your old documents in a format that enables you to switch instead to using Apple's iWorks apps moving forward.
    I initially intended to do something similar, but ended up buying Office as it provided an easier way (for me, at least) to continue working with years worth of old emails, letters, spreadsheets and other documents (from my PC days) without risking damage to their integrity, formatting, etc.

  • When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    When I open a word document attachment in mail for IOS 7.1.1 the previous jpeg is showing on the first page. When I open the attachment from mail in mac OS X the jpeg does not appear. Can anyone help?

    gonsa47 wrote:
    When I open it in pages or word the correct company logo appears.
    Does the mail app display whatever is in the document without the ability to differentiate between hidden or non hidden images?
    The mail app will not display fillable form fields in PDF files that can be seen in real PDF apps. I say real PDF apps because the form fields in PDF apps will not appear in the iBooks app either. IMO, iBooks is not a real PDF app.
    So, I would say that the mail app cannot differentiate between hidden and non hidden items

  • When I try to install abode - it will download but says i have to close firefox before it will install. also i try to open a word document from a website and it will not open - it will only download

    i install abode - it will download but not install and indicates i have to close firefox before it will download. Also, I try to open a word document from a website - it will download but not open.

    You need to close Firefox to install many plugins, including those from Adobe.
    As for the Word downloads, see the changing downloads action section of this link - https://support.mozilla.com/kb/Managing+file+types

  • How do i open a word document as a sub-VI?

    i need  to use/open a word document or a web page as a sub-VI. All im able to do now is upload it as a text format and it dosen't look to presentable.
    i have been trying the Active function and it dosent seem to work as i am not to familiar with it. i need suggestion to  overcome this problem
    thanks

    to: smercurio_fc
    i am not able to view the example you suggested. it sounds interesting pls suggest a different way.
    i want to upload a word document or a repective web page can u pls suggest a solutioj
    thanks
    pravin

  • How do I open a WORD document which is password protected?

    I need to open a word document, which is password protected.  I can't even get to a page that'll allow me to put in the password!!!  Can anyone advise how I can do this?
    Thanks.

    Hi JoeyR.
    Thanks for your reply.
    I get the following message when I try to open the document: "The Word document is password protected and can’t be imported".
    I've looked at the Open Office software, as you suggested, but it seems confusing.  I'll give it a try, though, as I'm wasting too much time!
    Fingers Crossed!

  • Opening a Word Document in Pages - floating objects not supported

    I am trying to open a Word document in pages. It is a table of labels with artwork and text. Pages tells me that floating objects inside cells are not supported and were deleted. I've tried making them inline with text in the original document and then opening in Pages, but then I can't make them floating again. Anyone know how to do this? I really don't want to have to buy a Microsoft product!

    Don't buy a M…soft product, use the free openOffice or the free neoOffice.
    Yvan KOENIG (VALLAURIS, France) samedi 18 décembre 2010 18:09:50

  • Can you open a word document in pages 08

    Quick question however stupid it is
    can you open a word document from a pc in pages 08?
    sorry in advance if i have posted this in the wrong discussion area
    cheers
    Message was edited by: Lama323

    The answer is as above wrote yes. Does it do it perfectly, the answer is no. Opening a .doc/.docx in Pages'08 will generate a frame warning message I find. I find text and symbols are preserved well, but formatting is not perfect. An example of my own is in the screenshot below. Same page 28 on a .docx but formatting of the document is not exactly preserved as you can clearly see. Where preservation of formatting is critical Pages is good, but not perfect alternative to Word '08.
    http://img225.imageshack.us/img225/2461/docxcu2.png

  • Can't open a Word document in Pages '09

    Alright...I have tried to search the forum to see if someone is having the same problem but I haven't seen any. I cannot open a word document in pages. at all. Just says "The document “filename.doc” couldn’t be opened."
    Any suggestions?

    This was one of the first symptoms of "un-updated" Pages in Snow Leopard. Once again, here are the two things you may not have done that fix quite a few problems in Snow Leopard.
    First, use the Mac OS 10.6.3 combo updater. This fixes a problem with the Hoefler Text font that is not fixed using the delta update (10.6.1 > 10.6.2).
    Second, make sure your iWork applications are updated. For iWork '08 that is Pages 3.0.3 & Numbers 1.0.3. For iWork '09 it's Pages 4.0.3 & Numbers 2.0.3. If you're not running the latest versions & Software Update says your software is up to date, make sure the applications are where the installer initially put them. The updaters are very picky. If the location is not where the updater is programmed to look or if the folder doesn't have the name the updater looks for, it will not work. The applications cannot be renamed or moved. They must be in the iWork '08 or iWork '09 folder in Applications. That iWork folder must be named iWork '08 or iWork '09. If it doesn't have the '08 or '09 Software Update won't find them & the updaters won't work.

Maybe you are looking for

  • Can I update my phone with iOS5 on a different computer than i normally sync my phone to?

    My personal computer had some issues a while back and i cant get it to update to iTunes 5. So I updated my work computer and i am wondering... Can I update my iphone 4 with iOS 5 on my work computer, realizing it will erase my phones music, etc; and

  • How to configure Remote desktop connection double sign-on?

    All dear, I need help. I install a terminal server 2012, but when I try to remote login, only once sign on. How can I to configure the server to double sign-on. Thanks

  • What is better for flowmeter totalization

    What is better for flowmeter totalization, a pulsetrain or current loop? I have the option of using a pulsetrain or a 4-20mA loop. Would I have to integrate if the current loop is chosen?

  • Power View not working in MS Office Standard 2013.?

    Hi All, Is Power View Add-In is only available for MS- Office 2013 Professional edition only, I have installed Ms -Office 2013 Standard in one of my office Laptop and try to enable the Power View but I could't see the COM-Add Ins of Power View though

  • Safari keeps crashing in some sites

    So every time I click some sites my safari automaticaly crashes, giving me this report: Process:         WebProcess [5169] Path:            /System/Library/StagedFrameworks/Safari/WebKit2.framework/WebProcess.app/Conten ts/MacOS/WebProcess Identifier