Gestion cache internet pour pdf

Bonjour,
Je souhaiterais savoir s'il est possible de pouvoir t�l�charger des pdf sans que ce dernier soit enregistr� dans le cache du browser ?
Je ne pense pas si de simples m�ta tag permettent de g�rer les pdf en cache ou pas ...
En effet, ma page est g�n�r� en java (jsp) ... pour r�pondre � des normes de s�curit�s, lorsque l'utilisateur clique sur le lien pdf, le code fait appel � un service java (avec en param�tre juste le nom du fichier pdf) qui retourne en r�ponse un tableau de byte (repr�sentant le document pdf qui est interpr�t� par le browser).
Il semblerait qu'en VB il est possible de g�rer dynamiquement la gestion des objets pdf en cache. Reste � savoir si le java le permet �galement ...
Merci d'avance
Franck

Your French is excellent (better my English)
When I spoke of Visual Basic, it's just because This
part of VB code (provide as example) should be a
solution :
response.ContentType = "application/pdf"
response.CacheControl = "no-store"
set objStream = Server.CreatObject("ADODB.Stream")
objStream.Open
objStream.Type=1
objStream.LoadFromFile filePath
response.BinaryWrite objStream.Read
objStream.Close
response.Flush
I would like to know if it exist a similar
possibility with Java.
Reminder : The display of the pdf file is
generated by a byte array return by a java service
... for this reason, we should directly manage in the
java code the temporary internet file ...
Thanks a lot
Greetings
FranckHi,
Yes that can be done, but it's probably better to write a servlet instead of a jsp page if you want to return binary data.
Kaj

Similar Messages

  • An error occurred when printing - cant print from internet or pdfs, but I can print from InDesign. Any thoughts?

    For some reason I am no longer able to print from the internet, or pdfs.
    In Firefox and Safari, I get the an error saying "Printer Error: An error occurred while printing."
    In Acrobate Pro I get the error "The document could not be printed."
    I even took a screen shot, but I'm not able to print from Preview.
    I recently used Font Nuke to clear my font cache. Could this have caused a problem?
    Any thoughts would be appreciated.

    Try clearing the print queue ...
    Open System Preferences > Print & Scan > Print
    Click Open Print Queue
    Delete all jobs then restart your Mac. Turn the printer off then back on.
    Try printing a pdf file.

  • Acrobat reader xi doesnt open internet browser pdf files?

    Since installing acrobat reader xi I can no longer open some internet browser pdf files.  Acrobat reader 9 seemed to work every time.

    See also http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html

  • Enregistrement d'une page internet en PDF

    Quelle application permet d'enregistrer une page internet en format pdf pour que je la classe dans un fichier dans mon ipad.
    Merci

    See http://kb.mozillazine.org/Creating_a_desktop_shortcut_to_a_webpage
    You can drag the favicon at the left side of the location bar to the desktop to create a shortcut.
    You can also use an extension.
    Create Shortcut: http://www.pikey.me.uk/mozilla/?addon=cs
    Deskcut: https://addons.mozilla.org/firefox/addon/66
    If you need a (fav)icon for that desktop shortcut then look at:
    getFavicon: https://addons.mozilla.org/firefox/addon/9548

  • Printing of internet-based pdf files garbled by Acrobat 8 Pro

    I am running Acrobat 8 Pro on a pc under Windows XP SP2. Any pdf files received by email or downloaded from the internet (Explorer 8) are completely garbled. Same happens with Reader 9. However, when I print from my laptop with Vista Home Basic, Explorer 7 and Reader 9, to the SAME printer, everything is fine. Any suggestions?

    Question1: No.
    Question2: No.

  • Document Level JavaScript to turn off caching for a PDF?

    I have been trying to find a way to ensure that a fillable PDF leaves no trace of itself on a computer that was used to open it. For example, if a user acceses a fillable PDF via browser or Reader, once they are done and have closed the browser or Reader, I want no trace of the information to remain in any cache on that machine. We don't want to require our users to try to control cache via settings in Reader, so I have been trying to find other ways to do this.
    I came across the following comment from GKaiseril in another thread - is this a way for a PDF to control its own caching? Any details or alternative approaches would be welcome!
    GKaiseril
    Re: Metadata - Can't remove
     You can also use document level JavaScirpts to turn off the auto complete and caching for a given PDF.

    Version 9 and 10 of Reader do not cache form data in a temporary FDF as previous version may have. The nocache document property it not even documented in the latest Acrobat JavaScript reference. If you're concerned about previous versions, you can use set the nocache document property at run-time, but users can disable JavaScript, so that approach is no guarantee.
    For information on controlling autocomplete, see: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.407.html

  • Allow or block links to the Internet in PDFs

    We have an issue on one computer with a Security Block message when clicking a link on a PDF opened in a browser IE, linking to a PDF on a network file share. The message dialog has no ALLOW button only HELP and OK. 
    On other computers the link opens the PDF without the Security message in the browser.
    Message:
    Acrobat does not allow connection to:
    file:///H:/ folder name/folder name/filename.pdf
    Using Acrobat 10 and Reader 10
    In Preferences, the Manage Internet Settings options are greyed out.
    If the Display PDF in Browser option is unchecked, the PDF opens in Acrobat but user needs the PDF to open in IE.
    Seems to be just on this one computer, we have reinstalled Acrobat 10.
    Thank you for any advice on how to fix this problem.

    Thanks for the quick reply.
    We have now taken all the updates available, the preferences had been set
    to not check for updates.
    Now the linked PDFs open in Internet Explorer without the Security Block
    message.
    In this situation we were not opening from Windows Explorer, we have an
    xml file which opens in Internet Explorer, the xml file has links to PDFs
    on the network and the PDFs have links
    to other PDFs. The user needed the linked PDFs to open in Internet
    Explorer for ease of navigation, testing that there are no broken links.
    Thanks so much for your timely help we really appreciate it,  the issue is
    resolved.
    Kathryn

  • Clear the Browser cache while Outputting PDFs

    Hi,
    I am using Servlet to output a PDF (Streams), i am facing Browser cache problem in IE
    since i am setting Content type to PDF as follows...
    response.setContentType("application/pdf")
    i could not able to use follwoing Clear the Browser Cache
    response.setHeader("pragma", "no-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Cache-Control", "no-store");
    response.setDateHeader("Expires", 0);
    the above code is not working fine in Netscape but not in IE.
    Can any one help me out in this.
    Regards
    SAM

    Hi,
    I have a problem with pdf file also, everything working fine in IE and
    netscape, but when I tried the streaming of pDF document from my
    servlet in response to a request from Opera browser it failed.
    the url may give some idea,
    http://localhost:8080/pdf/pdfdownload?PDF_FILE=abc.pdf
    here pdfdownload is my servlet, and code I used to stream like following
    public service(HttpServletRequest req,HttpServletResponse)
    ServletContext sc=getServletContext();
    String mimeType=sc.getMimeType((String)
    req.getParameter("PDF_FILE"));
    res.setContentType(mimeType);
    File pdf=new File((String)req.getParameter("PDF_FILE"));
    res.setContentLength((int)pdf.length());
    InputStream in=new FileInputStream(pdf);
    OutputStream os=res.getoutputStream();
    byte[] buf=new byte[1024];
    int count=0;
    while(in.available>0)
    count=in.read(buf);
    os.write(buf,0,count);
    the detailed code kept out for simplicity, but the idea is pretty
    much is this.
    Now, opera opening the stream for a file name pdfdownload and
    storing locally and then opening my acrobat reader, the second
    time if called it trying to create another file by name
    pdfdownload (1)? xxxx where ? is an unknown character, this is
    where it's failing, unable to create the file so failing to open
    the pdf file. what best process would be to follow in servlet so
    the streaming works in all browser, I have seen many link in sun
    sites, opening up pdf but it seems they all are stream, and my
    opera can identify their size and file name distinctly and saving
    them accordingly, any solution ???
    thanks
    Jishu

  • Clearing out the CACHE in a pdf ...

    I used LiveCycle to create a pdf for use with our helpdesk. The document went through 7 revisions and is finally ready for release. However, during the course of creating and testing the document I had entered dummy information in the fields. Now when I open the finalized document with Acrobat, the dummy information starts popping up after you start entering letters. Like an internet browser will do when you start typing in a web address, it is trying to guess what you want to type in based on your previous history. I need to delete this information before I send out the finished document. How can I clear this information from my pdf?
    Thanx
    T

    File/preferences/media - clean

  • External PDF links in Internet Explorer - PDF/A issue?

    Hi,
    I am having an issue with certain links within PDFs not working when the PDF is being viewed with IE.  I have created external PDF links using the Go to a Page View linking feature within Acrobat and then opening an external PDF file and setting the link.  The extrernal links work fine when viewing the PDFs within Acrobat, however when I view the PDFs within IE the external links do not work.  I am running Acrobat 9.3 and IE 8.
    I know there is an issue with PDF/A disabling external PDF links, is it possible that IE always displays PDFs in PDF/A mode, even though I have set PDF/A View Mode to never within Acrobat?  Also, I do not remember this being an issue in earlier releases of Acrobat 9, however I am supporting a large group of people that have already updated to Acrobat 9.3 and would hate to have to roll them back. Any ideas as to a possible solution would be greatly appreciated.
    Thanks!
    Randy

    Frank Huether (guest) wrote:
    : Eric Dannewitz (guest) wrote:
    : : I am currently awaiting the shipment of Developer 6, with the
    : new
    : : Reports server. I'm currently using the Developer 2.1
    Reports
    : : server with OAS 3.0.1 and there is a known bug that PDF
    : reports
    : : don't display with ANY version of Microsoft Internet Explorer
    : 4,5
    : : with just the Acrobat Reader installed........
    : : Is this fixed in Developer 6 release?
    : Eric,
    : I'm using the OAS 4.0 and there are no problems for Reports 3
    in
    : PDF format neither in MS IE nor Netscape.
    : Frank
    Um, do you have the FREE Acrobat reader installed, or the FULL
    Acrobat Exchange package. IE works fine with the full reader....
    I'd be interested to know how you go Reports 3 to work with OAS
    4......
    null

  • In cache destype=printer pdf corrupt (?), but destype=file pdf is ok

    Hi all,
    S.O.: SLES 10 (Novell)
    Oracle Reports 10g (StandAlone)
    I want execute .rdf file vía web browser, but the more important for me is printer the result by the defined printer
    for example:
    http://10.142.81.153:7778/reports/rwservlet?userid=gloviajava/gloviajava@livem&destype=printer&desformat=pdf&desname=cpd81200&report=3de9.rdf
    But the light of printer on but nothing printed.
    When destype=file the pdf resultant is OK and I can print via 'lpr -P ...'
    Anything can help me ? is very important for my work , please I hope your help.
    Thank in advanced.
    Manuel.

    Hello,
    When DESTYPE=PRINTER DESFORMAT=PDF is meaningless (the output file generated by the Reports Engine Will NOT be a PDF file)
    You can check what is in the file generated by the Reports Engine in the Reports Server Cache :
    by default , the Reports Server cache is in $ORACLE_HOME/reports/cache
    The printer cpd81200 should be defined int he file uiprint.txt .
    The PPD or HPD defined for this printer should be a PPD or HPD "matching" the printer ...
    Regards

  • How to clean file cache before loading PDF file ?

    Hi,
    I have one application in which we open PDF file inside it using the following api .
    AxAcroPDFLib.AxAcroPDF axAcroPDF1 = new AxAcroPDFLib.AxAcroPDF();
    axAcroPDF1.LoadFile(m_FileName);
    What I observed that, when we open PDF files second time, it opens with a page where we have closed it for the first time.
    It happens only when acrobat.exe is already running means if somebody already opened another PDF document and then we open and close the document in my application
    So I wanted to know is there any way to clean file cache information so that it open file with the first page always ?.

    Moved to the Acrobat SDK forum: Acrobat SDK

  • Internet pour 2 ordinateur quoi faire??

    Salut a tous et a toute,
    dans quelques jours je compte m'acheter un ibook g4 12pouce. En ce moment j'ai un pc mes quand j'aurai mon ibook je vais vouloir avoir internet sur les 2ordinateur, l'ibook inclus une carte airport donc si je veu transmettre l'internet de mon pc a mon ibook je devrais acheter quoi pour que mon pc transmettre internet a mon ibook. Je doute que j'ai besoin d'acheter quelque chose pour le ibook car la carte airport est inclu. Donc quesque je dois acheter pour avoir internet sans fil sur mom ibook?
    J'utilise cet internet: Adsl avec un Modem ethernet

    Salut! Je crois que vous avez besoin de peut etre le Apple Airport Extreme Base Station, comme vous avez deja le modem ethernet. Avec ceci vous pouvez attache l'ordinateur PC avec fil, et le iBook sans fil avec votre modem ethernet. Moins cher que le AEBS sera un routeur sans-fil avec ADSL modem combine. Vous n'aura plus besoin de votre modem. Il y a boucoup de routers comme ca, Belkin, Linksys etc etc...
    Avec un produit comme ca le PC et le iBook pouvrais connecte a l'internet independentement sans que l'un ou l'autre sois branche (allume?) ou meme connecte. Zut! Comment mettre les accents avec 'British Keyboard'...
    Bon Chance!

  • Gestion du dock pour groupe de machines

    Bonjour,
    Voila mon problème : j ai crée un alias sur un client et copié celui-ci dans les applications de mon xserve ...
    Lorsque j essaie de l ajouter au dock d un groupe de machines , celui-ci est grisé et je ne peux donc pas l ajouter ... une idée ?

    1 : J'ai pas l'impression que tu te relis avant de poster...
    2 : Explique "une alim rs232 via une carte Ni6008"
    3 : S'il fallait simplement changer le type de communication du vi du précédent stagiaire, tu pouvais partir de son VI.
    Car bien qu'il soit "mal fait" / "ressemble à une usine à gaz", il a l'air de bien fonctionner.
    Je ne peux pas en dire autant pour ton VI. Certaine action ne vont certainement jamais fonctionner comme tu le veux.
    Quelques exemples :
    - La définition des propriétés "Maximum" de U début et U fin ne devrait pas être dans la l'événement >"Ajoutez" Valeur changé< car là, ça sera trop tard pour définir ces paramètres.
    Il faudrai qu'il soit dans un nouvel événement >"tension Alim max" Valeur changé<
    - L'information "Phase" est complétement érronée (ou du moins je pense pas que ça soit ce que tu veux obtenir) car si tu fais une autre action que "Ajoutez", elle incrémente tout de même ensuite...
    Ex : si tu appuis sur Supprimer, la phase augmente... normal ?
    - La gestion du bouton rampe/continu devrait avoir son propre événement, car la valeur "forcée" de U début ne sera pas prise en compte lorsque tu ajoutera les données dans ton tableau...
    Y'en a d'autre...
    4 : Pourquoi multiplier par 5 la valeur de U début pour la déviser ensuite par la tension d'alim max ?
    Tu as sans doute une explication mais la valeur U début ajouter dans le tableau n'aura pas la même valeur du coup, (pourtant tu l'entêtes toujours U début dans ton tableau !!)
    JE pense que si l'on t'as dit que ce VI devrait être plus simple, c'est pas au niveau de la gestion des infos mais simplement parce que tu ne dois pas utiliser la même communication externe pour l'alim.
    Bref, ce sont des suppositions quand même.
    Bon courage...

  • Acrobat Pro X showing cached/previous version PDFs

    Hi all,
    I'm running Acrobat Pro X on Lion, and have a problem where if I make a PDF (for example in Illustrator) and open it in Acrobat, and then at a later point amend the Illustrator artwork, make a new PDF with the same file name and open it again in Acrobat I don't see the updated PDF, just the original one. If I quit and reopen Acrobat everything is fine, but I've no idea why Acrobat is showing a cached/previous version of the PDF. Any suggestions as to how I can fix this without having to quit and reopen Acrobat every time I amend a PDF?
    Thanks,
    Stephen

    See this post.

Maybe you are looking for

  • Save a form so I can return to it later

    I Need to know how to save a form (specifically a "Carsales" ad form), so that I can return to it later and continue

  • Solman stack for windows 64bit

    Hello experts, I am trying to install SAP solution manager 7.02, Please tell me how to select the packages to install the solman in windows 2008 r2 with max db database. In the marketplace it shows n number of choices to download, which one should be

  • JDeveloper 10.1.2 certified for JDK 1.5?

    Hi there, I just wanted to find out if JDeveloper 10.1.2 is certified for JDK 1.5? I have to be able to host Java/JSP code with Generics and our servers are running JDK 1.4 ... would help to know this information. Thanks!

  • How can I restore iMessages from Time Machine to a clean install?

    Hello, I just recently did a clean install of Mavericks.  I was wondering how to transfer all my saved iMessages from my Time Machine drive to this clean install? Thanks in advance!

  • Unable to edit info

    Just got a new HP laptop computer running Windows Vista. Since installing iTunes on this new computer I have been unable to edit the info for any of my pre-existing files; the only files I can edit are new ones I have addded since upgrading to my new