In pdf file need java script to clear cache before launch of web link

using adobe acrobat XI - have pdf file with link to external web site.
When creating the link in the link properties selected action Run a JavaScript  the following java script was added to ensure will open in new window. app.launchURL("http://google.com", true)
this works most of the time except with some users - if those users clear their browser cache first then it works
Is there anything that could be added to the java script to ensure the browser cache is cleared or not used before the launch action? or any other suggestion to ensure the link will always open in new window?
Thanks,
Jackie

thanks for your prompt reply.
Was hoping maybe there would be someway to clear the cache for the users
without them having to do anything.
Appreciate your help.
Jackie
Thanks,
Jackie
276.783.6991 x 326

Similar Messages

  • IE will load my excite home page but Firefox won't after following all of the suggestions , enabled cookies, java script and cleared cache.

    Was working fine for years until virus scan today. It will pull up the site, but not allow me to access my personal home page. Running XP on one laptop and Vista on the other. Same problem with both machines after running scan. Only problem appears to be accessing my home page on excite.com. Have enabled both cookies and java script as well as clearing cache.
    Can access excite home page on both IE and Chrome.

    Thanks for the suggestion.Working my way through, but no success yet. excite.com comes up but as soon as I click on "sign in", I get the error screen even though I have enabled cookies and java script.
    '''''The browser you're using is not allowing you to sign in to Excite.
    Right now, your browser's settings are configured to disable cookies and/or javascript. In order to access your account, you must change your browser's settings to accept both cookies AND javascript. '''''

  • How to Open a file by JAVA SCRIPT in ABAP?

    Hi Experts,
    i'm trying to open a pdf file in java script (ONLY) through ABAP.
    Is it possible? If so how?
    The java script what we write in HTML is "window.open("C:
    Temp
    file.pdf");"
    Please advice ASAP.
    Somnath

    Hi,
    You have to make the Vi reentrant so that it does not share the same memory location:
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to enable commenting into pdf files using java?

    Hi All,
    Is there any way available to enable comments into pdf files through java. I have a Adobe Reader 9 and also I want put some comments into pdf file, but the reader is not allowed to place a comment into pdf file before enabling the Comments into pdf. After enabling the comments in pdf file then only we can place the comments and we can the pdf file with comments.
    Is there any way available to enable comments into pdf file to view acrobat reader.
    Thanks in advance.

    The end user who uses the web application has Acrobat installed in their mahcine needs it only for the purpose of enabling comments in pdf. If this task of enabling comments in pdf is done through my application there is no need for acrobat in such user's machine which was requested as a cost cuttnig measure.
    For this purpose, i need to know about how to enable comments in pdf through java api.
    I have used itext java api for other pdf related manipulation in java. But it does not have feature as per the requirement posted above. Can any body suggest relevant java api to achieve the task requested?
    Tahnks in Advance.

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

  • Can we integrate .swf file in java script ?

    Hello Friends,
    We implemented one concept in Flex and now would like to integrate with JavaScript. Earlier we integrated an Applet code but now, we developed the concept in Flex, however, I am unable to integrate the concept in java script.
    Can anyone help me out with the procedure to integrate flex swf file in java script ?
    Here is my earlier java script code :
    var file=gup('query');
    //document.write(file);
    var prevFile=gup('prevFileName');
    //document.write(prevFile);
    document.write("<table align=\"center\"><tr><td><applet code=\"MyApplet.class\" archive=\"Visual.jar\" width=1000 height=500>");
    document.write("</applet></td></tr></table>");
    function gup( name )
      name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
      var regexS = "[\\?&]"+name+"=([^&#]*)";
      var regex = new RegExp( regexS );
      var results = regex.exec( window.location.href );
      if( results == null )
        return "";
      else
        return results[1];
    Thanks in advance.

    What version of FlashPro are you using? If you want a self contained app that doesn't load external resources, publish an AIR app, which will work on Windows or OSX. I'm using OSX so I can't really help with .exe projector files, but it looks like the latest version of FlashPro no longer outputs projector files—I think everything is AIR now.
    If you really want to go the projector route, I'm guessing Jeffrey Smith's suggestion of finding an older version of Flash Player would be simpler.
    So for AIR, set your Publishing target to AIR for Desktop. Then under File>AIR settings:
    Output as: Application with runtime embedded
    Include files: Add all of your resources—the swf ID generated and it's resource folder
    In the Signature tab click New to create a self-signing Certificate (if you were developing commercial software you would need a third party certificate). You can save the certificate anywhere.
    When you publish you should find an AIR application file (.app) file in the directory with your .fla

  • PDF Optimizer and Java Scripts

    We have a custom Java Script that is at the bottom of each page of certain PDFs.
    The Java Script is setup to print the date on the bottom of each page if a selected PDF is printed to hard copy.
    Our problems lies in the fact that after adding the Java Scripts, the PDF optimizer doesn't seem to optimize the PDF at all.
    We are still talking about 6MB+ PDF files. When I look at the AUDIT feature in the PDF optimizer, the biggest offender is Fonts.
    I have messed around with tons of settings inside of the PDF optimizer and nothing seems to work.
    We are using Adobe Acrobat Professional 7.1.0.
    Thanks,
    Bill

    You might also look at Adobe's FDF Toolkit.
    http://partners.adobe.com/asn/developer/acrosdk/forms.html
    This is excellent if you just want your users to be able to fill out an html form and put the data values into a PDF document.

  • How to print PDF files using java print API

    Hi,
    I was goign throw lot of discusion and reading lot of forums related to print pdf files using java api. but nothing seems to be working for me. Can any one tell me how to print pdf files using java api.
    Thanks in advance

    Mike,
    Can't seem to get hold of the example described in your reply below. If you could let us have the URL to get then it would be great.
    My GUI application creates a pdf document which I need to print. I want to achieve this using the standard Java class PrinterJob (no 3rd party APIs I'm afraid, commercial restraints etc ..). I had a stab at it using the following code. When executed I get the pretty printer dialog then when I click ok to print, nothing happens!
    boolean showPrintDialog=true;
    PrinterJob printJob = PrinterJob.getPrinterJob ();
    printJob.setJobName ("Contract.pdf");
    try {
    if (showPrintDialog) {
    if (printJob.printDialog()) {
    printJob.print();
    else
    printJob.print ();
    } catch (Exception PrintException) {
                   PrintException.printStackTrace();
    Thank you and a happy new year.
    Cheers,
    Chris

  • How to read pdf files using java.io package classes

    Dear All,
    I have a certain requirement that i should read and write PDF files at runtime. With normal java file IO reading is not working. Can any one suggest me how to proceed probably with sample code block
    Thanks in advance.

    hi I also have the pbm. to read pdf file using JAVA
    can any body help meWhy is it so difficult to read the thread you posted in? They say: java.io is pointless, use iText. So why don't you?
    or also I want to read a binary encoded data into
    ascii,
    can anybody give me a hint how to do it.Depends on what you mean with "binary encoding". ASCII's binary encoding, too, basically.

  • Need java script 6.26 to use banking software keep getting "the connection was reset" error Java appears on addon blocked list

    I am trying to use Team One Credit Unions CU@home to access my accounts. Their support team tells me I need Java script 6.26. I show that on my add on list but it also states Java is blocked on the blocked software list. How do I get Java script running so I can do my home banking or at least test it to be sure that is the issue. I have tried running this program with Java enabled and disabled with the same results.

    To avoid confusion: http://kb.mozillazine.org/JavaScript_is_not_Java
    See:
    * http://kb.mozillazine.org/Java
    * http://kb.mozillazine.org/JavaScript
    Java 6 U26 is about the Java plugin.
    You can see in "Tools > Add-ons > Plugins" if the Java plugin is installed and also on the about:plugins page via the location bar.
    * http://www.java.com/en/download/help/testvm.xml - How do I test whether Java is working on my computer? - 1.4.2_xx, 1.5.0, 6.0

  • Reading PDF files in java

    Hi,
    can any one help me on how to read pdf files in java using itext. I have written some piece of code but it is of no use. It is giving some garbage.
    import java.io.*;
    import java.util.*;
    import java.lang.*;
    import com.lowagie.text.pdf.PdfReader;
    public class PdfAccess
    public static void main(String[] args)
    try {
    String pdfFile = args[0];
    PdfReader reader = new PdfReader(pdfFile);
    int pageCount = reader.getNumberOfPages();
    System.out.println(pageCount);
    String content = " ";
    for(int i=1;i<=pageCount;i++) {
    byte[] pageContent = reader.getPageContent(i);
    content = content+(pageContent.toString());
    System.out.println(content.trim());
    } catch(Exception e) { }
    can any one help me on how to get contents of the file. Are there examples avalilable??

    * Try this by PDFBOX , it will execute well as per ur request..........
        public void getPdfText(String fileName) throws IOException {
            StringWriter sw = new StringWriter();
            PDDocument doc = null;
            try {
                doc = PDDocument.load(fileName);
                PDFTextStripper stripper = new PDFTextStripper();
                stripper.setStartPage(1);
                stripper.setEndPage(Integer.MAX_VALUE);
                stripper.writeText(doc, sw);
                OutputStream out=new FileOutputStream(new File("d://PDFText.txt"));
                PrintStream write=new PrintStream(out,true,"UTF-8");
                write.print(sw.toString());
                //System.out.println(sw.toString());
            } finally {
                if (doc != null) {
                    doc.close();
    Can..Can...If we Try...!

  • Error accessing PDF files from Java

    In CF7, I have a routine that opens submitted PDF files
    through Java to do some manipulation. Similar to CF8 PDF
    manipulation, but more complex. In almost all cases, it works fine,
    except two.
    For one, a submitted PDF was corrupted somehow -- I can't
    even open it with Acrobat. On the line:
    "reader=pdfReader.init(pdfFile);" this returns the error below.
    This is expected. But with a couple other PDF's, that do open fine
    in Acrobat, I get the same error. I even re-saved the PDF file to
    different versions of Acrobat, but java still complains. Any ideas
    what causes this, or what to do to prevent it?
    Does anyone know if CF8 java processing does anything
    different here that would prevent problems like this?
    reader=pdfReader.init(pdfFile);
    An exception occurred when instantiating a java object. The
    cause of this exception was that: .
    From the stack trace:
    java.lang.reflect.InvocationTargetException
    at
    sun.reflect.GeneratedConstructorAccessor48126.newInstance(Unknown
    Source)

    It does always happen after having successfully done others,
    as these are in a list of about a dozen that it processes at a
    time... but it is always consistent - it does all the others fine,
    and then always breaks on these particular PDF files, time after
    time, day after day. So it's not a random thing that comes and
    goes.
    The 3rd party tool is the one that's "built-in" to CF,
    com.lowagie.text.pdf.PdfReader. This is all on a shared host, and
    so I wouldn't have access to installing alternatives.

  • How can I perform the conversion of pdf files in Cyrillic script to Word files in Cyrillic script. The pdf file is too small for me to read right now. Julyan Watts

    How can I perform the conversion of .pdf files in Cyrillic script to Word files in Cyrillic script. The .pdf file is too small for me to read without a magnifying glass, and the document is more than one thousand pages.

    This answer was not helpful. First of all, I could not find "tech specs"
    anywhere on the Acrobat 11 homepage. And secondly I purchased this software
    for the specific purpose of converting .pdf files to Word. It was only
    after I had completed the purchase that I learnt that Acrobat does not
    permit the conversion of .pdf files in Cyrillic to Word files  in Cyrillic.
    I feel that Acrobat should have provided this crucial information before I
    allowed my credit card to be debited. That is why I  am now asking for my
    money back. But thanks for your attempt to solve my problem, even if it was
    not successful.
    Julyan Watts

  • Query on processing a PDF file using Java mapping

    Hi All,
    i am trying to process a XML and PDF file using Java mapping, it is successful in XML but unable to do for PDF.
    below is the code i am using... can any one guide me how to process PDF's..
    byte byte1 = 0;     
    java.io.ByteArrayOutputStream bos = (ByteArrayOutputStream)outputstream;
    while((byte1=(byte)inputstream.read())!=-1){
    bos.write(byte1);
    bos.close(); 
    Thank You,
    Madhav

    Hi Madhav,
    I think instead of going with JAVA mapping you can write a custom adapter module for it.
    Ref:  /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    Also check : Re: PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
    /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    Thanks,
    Edited by: Hareenkumar on Dec 21, 2010 11:12 AM

  • Merging PDF files through a script

    Hi everyone,
    I want to merge a couple of PDF files
    through a script, because i have to do
    it for a good number of them every time
    I get them sent.
    I was wondering, does Reader have a
    command that can be called in the command
    line in order to merge this pdf files through
    a script.
    Ted.

    Reader can do very few things besides being a reader. If you wanna merge PDF files, use a PDF merger.

Maybe you are looking for