Download MS word doc from an HTML page link

Hi can someone please tell me how to do this.
I have created the page and inserted <!--Download the large documentinto the region source but when I run the page and click on the link nothing happens.
I am a newbie please be simple but elaborate in what needs to be done.

user2446549 wrote:
Hi can someone please tell me how to do this.
I have created the page and inserted <!--Download the large document
You cannot access the files on you pc, it needs to be available on the web server or in a database table(blob)
I am a newbie please be simple but elaborate in what needs to be done.What are you trying to achieve?

Similar Messages

  • I am getting an unknown error when trying to download a word document from mail to pages, any help

    I am trying to download a word document from mail into pages and I keep getting an unknown error message, are there special settings for this? Any help much appreciated!

    Not there aren't any special settings for this. You just use the Open In feature to save the document into Pages. You could have a font in the document that Pages doesn't like, maybe something that you copied and pasted from somewhere into the document that went corrupt. But there is nothing special about the way that you save a Word document into Pages. You save it like you save any document or file into a compatible app.

  • Hi, how can i extract/download a Word (.doc) from mysql

    Hi,
    I have a facility where i can upload Word documents to a mysql table...
    how can i download/extract these out of the table using mysql and jsp?
    the code i currently have is
    <%@ page language="java" import="java.sql.*,com.jspsmart.upload.*"%>
    <jsp:useBean id="upload" scope="page" class="com.jspsmart.upload.SmartUpload" /><%
    String id = request.getParameter("id");
    String column = request.getParameter("column");
    String table = request.getParameter("table");
         Class.forName("com.mysql.jdbc.Driver");
         Connection ConnDoc = DriverManager.getConnection ("jdbc:mysql://localhost:3306/firsttable?user=root&password=table"); 
         Statement StmtDoc = ConnDoc.createStatement();
         ResultSet RSDoc = StmtDoc.executeQuery("select "+column+" from "+table+" where id='"+id+"'");
         while (RSDoc.next())
              upload.initialize(pageContext);
              upload.downloadField(RSDoc,column,"application/msword","policy_"+id+".doc");
         RSDoc.close();
         StmtDoc.close();
         ConnDoc.close();
    %>on the JSP page i have a link which calls the above code....
    <a href='http://localhost/etisum/downloaddoc.jsp?id=2&table=pii&column=thecertificate'>DOCUMENT</a>Can anyone point me in the right direction or even towards a tutorial.
    Thank you

    So, you work for an insurance company?

  • Can anyone tell me why I am unable to download a template word doc from webmail onto my mac without it opening in text format? I just need the original document format.

    Can anyone tell me why I am unable to download a template word doc from webmail onto my mac without it opening in text format? I just need the original document format.

    Where to begin... and why would you ask here? (workstation owners)
    Places I can think to try, after google of course....
    Forum devoted to something like Word / Mactopia or Pages.... whether you are using Office 2011, and no idea what browser or webmail (IMAP, Gmail, other)
    And then there really are notebook with subforum for MacBook Pro
    Apple Site Map
    Apple Support Mail
    Apple Support

  • I downloaded a word doc and can't open it on new computer which has pages installed

    I downloaded a word doc and can't open it on my new computer that has pages installer

    Have you tried dragging it onto your Pages icon?
    Is it by any chance passworded?
    It helps if you give some details:
    eg What version of Pages you are using?
    Can you just open Pages on its own?
    The file extension and origin of the word doc
    What message does the computer pop up when it fails to open?
    Otherwise it is all just guesswork.
    Peter

  • How can I transfer text and format from a Word Doc to a new Pages Doc?

    How can I transfer text and format from a Word Doc to a new Pages Doc?

    Select, and Copy in the Word doc and Paste in the Pages doc. It may not be perfect. Importing (Opening) the Word doc is probably better than using Copy/Paste for large amounts of content.
    Jerry

  • Importing Word docs from a RH for Word project

    I have a HUGE RH for Word project that I'm trying to convert
    to RHTML (RH Office X5). We generate CHM with this project, and
    we've got map ids for all topics. I've been to Peter Grainge's site
    to get some ideas, but I don't think they're going to work. There
    are so many Word files and topics (537 and 2,974, respectively)
    that the more I think about it, the more I think that a conversion
    to RH HTML might not be worth it.
    When I tried to import all of the Word documents and also
    convert the TOC (converting the Index isn't an option since it
    never worked with our large number of Word docs) and use the
    HTMLHelp.css (using the Import wizard), RH HTML crashed twice after
    40 minutes.
    So, I created a new RH HTML project and tried to import just
    one Word doc from the RH for Word project, and selected the same
    wizard options. As I expected, the Word doc imported, but even
    though I told RH to split the topics on Heading 2, it also copied
    in the characters (#S+@) that preceded every topic heading and
    incorporated them into the Topic Title. AND, RH HTML did not
    "convert" the TOC - it was blank.
    In another post I saw a reference to this patch -
    http://www.adobe.com/support/security/bulletins/apsb07-10.html.
    I'm not sure it's related, although when I examined my second
    failed import attempt, the imported topics were visible in the
    project folder only by using Windows Explorer - RoboHelp HTML did
    not display them from within RoboHelp.
    Does anyone know if this is the patch that will fix this
    issue as well?
    By the way, based on the number of questions I've seen posted
    about RH for Word 7 with zero replies, I'm thinking I'm going to
    run into issues as well, even if we leave it in RH for Word when we
    upgrade to version 7. It seems that its size is an issue for RH
    HTML.
    Thanks,
    Jim
    Thanks,
    Jim

    Hi Jim,
    just as an encouragement: we sucessfully converted a HUGE RH
    for Word project (4,300 topics) to RH HTML a while ago, including
    TOC, index and everything. I must admit though that we had all
    those topics in only 25 word documents. Maybe you can reduce the
    number of documents by moving the topics? There will always be
    problems you run into and afterward, we had to go through every
    single topic and check the formatting, but I guess you'd always
    have to do this. But I think it's worth it, working in HTML is so
    much more convenient.
    Good luck!
    Kathrin

  • Open Word docs with the new Pages?

    Pages does not open. I had the new one installed but apparently had the old one still up. How can I open Word docs with the new Pages?

    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.1 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Word docs from pc to iPad

    I can't figure out how to share a word doc from my pc to the iPad. I went through the steps in the manual but can't find the file share option they talk about in the app tab on iTunes. Any ideas?

    Do you have Pages installed on your iPad? If not, I'm not sure that file transfer option will appear, though I'm not certain; perhaps someone else here can confirm or refute. If that is indeed the case, then you'll have to email the document to an account your iPad can pick up, or get Pages or one of the other iPad apps that supports Word docs and provides a file transfer capability.
    Regards.

  • CPU Usage - Generating Word Docs from RoboHelp X5

    If you have generated a fair-sized document through RoboHelp,
    and you are having problems with your CPU usage pegging out around
    100%, bouncing up and down between 50% and 100%, the page
    repainting as you scroll through the document, etc., this solution
    is for you!
    I am using RoboHelp X5 to generate large Word documents
    (2003). This solution worked perfect for me. The problem is with
    document corruption, apparently. After you have generated your Word
    document and opened the document, be sure to display the paragraph
    marks. You will probably see the “]” mark at or near
    the end of the document. Select your entire document,
    except for the final paragraph mark, making sure to exclude
    this symbol, and copy everything else. Open a blank Word document
    and paste this content into the new document.
    You will now need to reattach your template (.dot) file for
    the generated document through Tools/Templates and Addins:
    1. Locate the applicable document template and attach it
    (it's typically in the base generated project directory in RoboHelp
    - .dot file). Click the OK button to save.
    2. Return to Tools/Templates and Addins. Click the Organizer
    button to display the Styles tab.
    3. In the right-hand list (In Normal.dot), Close the
    Normal.dot file
    4. Open the same RoboHelp .dot template as you selected
    previously.
    4. Select all of the styles once they display in the right
    pane and click the <<Copy button to copy them all over to the
    document template. Confirm that you want to replace all styles in
    the document.
    5. Close the menu using the Close button. The dialog closes
    and your styles should all be updated, if your styles were set up
    appropriately via template and style sheet settings.
    You may need to also adjust the Page Setup page width
    settings, if necessary.
    Good luck!
    Liz0259

    Peter:
    Thank you for responding to me, as I may not have been clear
    enough, and I apologize for that. I was trying to keep it short and
    sweet. This problem started when I began using RoboHelp X5 this
    year.
    To clarify...
    - I'm not concerned with CPU usage during document
    generation, that is to be expected. The document will need to be
    generated originally from a RoboHelp WebHelp project. This does not
    change. The problem takes place AFTER you generate a large document
    and then open it in MS Word.
    - My documents are large, 140-500 pages. It took forever to
    scroll through the Word document (RoboHelp-generated), the screen
    kept repainting, and the CPU usage stuck fluctuating frequently
    between 50% and 100%, not allowing me to do much else. Editing
    those documents was a nightmare. Even if I shut down all other
    programs.
    - Something translates to the Word doc from RoboHelp that
    maxes out the CPU usage, and I can't locate the exact culprit.
    However, it appears to be tied to the faded "]" symbol at the end
    of the document (there is a "[" at the beginning, too). So you have
    to omit more than the last paragraph mark; that symbol also needs
    to be left out.
    - The "corruption" information came from Microsoft; it could
    be something other than that, but this is what they said. I found
    nothing that would help on the RoboHelp forum, so I went to
    Microsoft to see if they had a solution. Apparently, this is a
    common problem with Word 2003, but the articles didn't mention
    RoboHelp in the issues. I tried this solution, adding the omission
    of the "[" symbol, with complete success.
    - When you copy the document without the last paragraph mark,
    it will still include the headers/footers when you paste it
    (although you may need to adjust them slightly). This is not the
    problem.
    - When a document is generated, you can select to use a MS
    Word template, which I do. I fully use the style sheets in
    RoboHelp, and they match my Word styles (template) to keep things
    in sync. Actually, this Word template remains in the project; it is
    not moved to the folder that holds your Normal.dot file. So the
    link to the template in RoboHelp from your document does in fact
    remain intact. However, you can copy that template to another
    folder outside the project and link it from there, but it won't
    matter.
    - The Word template (.dot) needs to be reapplied in order to
    restore your styles, as the Normal.dot styles are applied when you
    copy the content over to a new document. It doesn't matter where
    you store the template. I reapply this SAME template after I copy
    and paste the content into the new document. This is not the cause
    of the problem. Note: The application of a template is not the same
    thing as going back to the master copy. This is still a fresh
    document, with the content pasted in and the same template applied.
    - I have tried deleting the local copy and starting over. I
    have moved the file to another location. I have renamed or created
    a 'save-as' copy of the file. I tried editing out any extra
    un-necessary merge-tags in Word, looked for macros, etc. All of
    these things do not resolve the CPU Usage problem.
    I hope this makes more sense. You can try it out if you wish,
    but you will need to do this with a large document and use the
    Print View when looking at the document in Word. You'll have less
    of a problem in Normal View, or with a smaller document (under 50
    pages).
    Good luck!
    Liz0259

  • Hyperlink from an HTML page directly to an artikle in a pdf document ?

    Hi,
    we would like to set a direct link from a HTML page to a special article in a pdf document. For the moment we could open the pdf document only at its first page.
    Thank you for your help :-)

    Hi,
    it's me again.
    Well, with the PDF open parameters I am now able to open a pdf document via HTML on a specific page number.
    (http://example.org/doc.pdf#page=10)
    However page numbers are changing so I want do define a special Article using the following command:
    http://example.org/doc.pdf#nameddest=Article16
    but the pdf opens always at the first page. Is there something to do in the pdf document with Article 16 first ?
    Regards Krokah

  • MS-Word Doc to Filtered HTML Conversion

    Hi Dear all
    In my application i want to convert MS Word Document to Filtered Html (Since there are two options available in word that is save as webpage and second one save as webpage filtered what i need is the html generated by saving a word doc as web page filtered). However i want that my application that is java based should do it automatically so that the user need not to first convert it into filtered html and then open in my app.
    so please is there any way or apis or components available that can automatically convert a word doc to filtered html in java. i need urgent help in this regard
    thanks

    Maybe this can help: [http://poi.apache.org/]
    I haven't looked at it to much.
    Edited by: Farmor on Jul 24, 2008 8:51 AM

  • How do I pass input values from a html page to a jsf page

    hi,
    In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0
    how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.
    pls,help me,very urgent
    thanx in advance

    Simplest way is to rewrite html page into jsf page.
    You can use session bean in your managed bean like this:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class ManagedBean {
    private Context  ctx;
    private Object res;
    // session bean interface
    private Service service;
              public ManagedBean() {
                try{
                     ctx = new InitialContext();
                     res = ctx.lookup("Service");
                     service = (Service) res;
               catch(Exeption e){
    }Message was edited by:
    m00dy

  • I downloaded a word file from an inbox mail (the mail app) onto my iPad2, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    I downloaded a word file from an inbox mail (the mail app) onto my iPad, where is this file stored? How can I delete it if it takes up space in my iPad? Any ideas??

    Did you ever figure out what happened?
    I had the same experience as you did, but in my case it was a big fat pdf that Mail insisted I had to download before I could view it. As happened with you, I saw the file actually downloading, and after a time I was able to view the pdf. It's been my assumption that the pdf is still somewhere on my iPad, but I have no idea where, nor how to delete it if it is still there.
    Thanks.

  • How ias integrate with Snacktory for getting main text from an html page

    Hi All,
    i am new to endeca and ias, i have an requirement, need to get main text from whole html page before ias save text to Endeca_Document_Text property,
    as ias save all text in page to endeca_document_text property, it is not ok for reading when show in web page, i use an third party API to filter out the main text from original page,
    now i want to save these text to endeca_document_text property,
    an another question,
    i get zero page when doing the logic of filtering main text from original html text in ParseFilter( HTMLMetatagFilter implements ParseFilter) using Snacktory.
    if only do little things, it will work fine, if do more thing, clawer fail to crawl page. any one know how to fix it.
    log for clawler.
    Successfully set recordstore configuration.
    INFO    2013-09-03 00:56:42,743    0    com.endeca.eidi.web.Main    [main]    Reading seed URLs from: /home/oracle/oracle/endeca/IAS/3.0.0/sample/myfirstcrawl/conf/endeca.lst
    INFO    2013-09-03 00:56:42,744    1    com.endeca.eidi.web.Main    [main]    Seed URLs: [http://www.liferay.com/community/forums/-/message_boards/category/]
    INFO    2013-09-03 00:56:43,497    754    com.endeca.eidi.web.db.CrawlDbFactory    [main]    Initialized crawldb: com.endeca.eidi.web.db.BufferedDerbyCrawlDb
    INFO    2013-09-03 00:56:43,498    755    com.endeca.eidi.web.Crawler    [main]    Using executor settings: numThreads = 100, maxThreadsPerHost=1
    INFO    2013-09-03 00:56:44,163    1420    com.endeca.eidi.web.Crawler    [main]    Fetching seed URLs.
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:46,519    3776    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:52,889    10146    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:52,890    10147    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-1]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:56:59,184    16441    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:56:59,185    16442    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into EndecaHtmlParser getParse
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    come into HTMLMetatagFilter
    INFO    2013-09-03 00:57:07,057    24314    com.endeca.eidi.web.parse.HTMLMetatagFilter    [pool-1-thread-2]    meta tag viewport ==minimum-scale=1.0, width=device-width
    INFO    2013-09-03 00:57:07,058    24315    com.endeca.eidi.web.Crawler    [main]    Seeds complete.
    INFO    2013-09-03 00:57:07,090    24347    com.endeca.eidi.web.Crawler    [main]    Starting crawler shut down
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Waiting for running threads to complete
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    Progress: Level: Cumulative crawl summary (level)
    INFO    2013-09-03 00:57:07,095    24352    com.endeca.eidi.web.Crawler    [main]    host-summary: www.liferay.com to depth 1
    host    depth    completed    total    blocks
    www.liferay.com    0    0    1    1
    www.liferay.com    1    0    0    0
    www.liferay.com    all    0    1    1
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    host-summary: total crawled: 0 completed. 1 total.
    INFO    2013-09-03 00:57:07,096    24353    com.endeca.eidi.web.Crawler    [main]    Shutting down CrawlDb
    INFO    2013-09-03 00:57:07,160    24417    com.endeca.eidi.web.Crawler    [main]    Progress: Host: Cumulative crawl summary (host)
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]   Host: www.liferay.com:  0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Progress: Perf: All (cumulative) 23.6s. 0.0 Pages/s. 0.0 kB/s. 0 fetched. 0.0 mB. 0 records. 0 redirected. 4 retried. 0 gone. 0 filtered.
    INFO    2013-09-03 00:57:07,162    24419    com.endeca.eidi.web.Crawler    [main]    Crawl complete.
    ~/oracle/endeca
    -======================================
    source code for parsefilter
    package com.endeca.eidi.web.parse;
    import java.util.Map;
    import java.util.Properties;
    import org.apache.hadoop.conf.Configuration;
    import org.apache.log4j.Logger;
    import org.apache.nutch.metadata.Metadata;
    import org.apache.nutch.parse.HTMLMetaTags;
    import org.apache.nutch.parse.Parse;
    import org.apache.nutch.parse.ParseData;
    import org.apache.nutch.parse.ParseFilter;
    import org.apache.nutch.protocol.Content;
    import de.jetwick.snacktory.ArticleTextExtractor;
    import de.jetwick.snacktory.JResult;
    public class HTMLMetatagFilter implements ParseFilter {
        public static String METATAG_PROPERTY_NAME_PREFIX = "Endeca.Document.HTML.MetaTag.";
        public static String CONTENT_TYPE = "text/html";
        private static final Logger logger = Logger.getLogger(HTMLMetatagFilter.class);
        public Parse filter(Content content, Parse parse) throws Exception {
            logger.info("come into EndecaHtmlParser getParse");
            logger.info("come into HTMLMetatagFilter");
            //update the content with the main text in html page
            //content.setContent(HtmlExtractor.extractMainContent(content));
            parse.getData().getParseMeta().add("FILTER-HTMLMETATAG", "ACTIVE");
            ParseData parseData = parse.getData();
            if (parseData == null) return parse;
            extractText(content, parse);
            logger.info("update the content with the main text content");
            return parse;
        private void extractText(Content content, Parse parse){
            try {
                ParseData parseData = parse.getData();
                if (parseData == null) return;
                 Metadata md = parseData.getParseMeta();
                ArticleTextExtractor extractor = new ArticleTextExtractor();
                String sourceHtml = new String(content.getContent());
                JResult res = extractor.extractContent(sourceHtml);
                String text = res.getText();
                md.set("Endeca_Document_Text", text);
            } catch (Exception e) {
                // TODO: handle exception
        public static void log(String msg){
            System.out.println(msg);
        public Configuration getConf() {
            return null;
        public void setConf(Configuration conf) {

    but it only extracts URLs from <A> (anchor) tags. I want to be able to extract URLs from <MAP> tags as wellGee, do you think you could modify the code to check for "Map" attributes as well.
    Can someone maybe point a page containing info on the HTML toolkit for me?It's called the API. Since you are using the HTMLEditorKit and an ElementIterator and an AttributeSet, I would start there.
    There is no such API that says "get me all the links", so you have to do a little work on your own.
    Maybe you could use a ParserCallback and every time you get a new tag you check for the "href" attribute.

Maybe you are looking for

  • To be included jar path containing white space....

    hi, I have develop an application which is linked with some jar files at run time. Now those jars are in my application directory and as I have put my project in path c:\program files\proj(which contains white space) so while running the application

  • RV180W Router Issues

    Hi We've just replaced a netgear router for a Cisco RV180w but it's causing some issues, it seems to be stopping any PC based browser loading properly, it connects to the site but doesn't load the page if you hit F5 it loads immediately but this is c

  • Launching CRM_IC Transaction

    Hi I am trying to launch the CRM_IC transaction and am getting the page cannot be displayed. The web address it is trying to open is pasted below. I do have the following settings IE 6.0 Java 1.4.2 server address sapserver.dns in the host file on the

  • Error when update: Optional feature not implemented

    Hi, all, I got the exception: "[Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented" when I use MS Access to update my record. I searched the forum, but i couldn't get my answer. I can do select and insert into this table. but i

  • Working with TIMESTAMP fields in Excel

    Please forgive me if this is a really stupid question. I have an Oracle 10g dtabase that i am trying to connect to via ODBC in Excel. I can get data from tables into MS Query untill i try and insert a TIMESTAMP field when all fails. The TIMESTAMP fie