PDF displayed in BSP being cached on pc

I have used some code for a couple of years that I found on sdn, probably in an old Thomas Jung blog, to display a PDF document in a BSP:
    CREATE OBJECT cached_response
      TYPE
        cl_http_response
      EXPORTING
        add_c_msg        = 1.
    l_pdf_len = XSTRLEN( l_pdf_xstring ).
    cached_response->set_data( data   = l_pdf_xstring
                        length = l_pdf_len ).
    cached_response->set_header_field(
          name  = if_http_header_fields=>content_type
                      value = 'application/pdf' ).
    cached_response->set_status( code = 200 reason = 'OK' ).
    cached_response->server_cache_expire_rel( expires_rel = 180 ).
    CALL FUNCTION 'GUID_CREATE'
      IMPORTING
        ev_guid_32 = guid.
    CONCATENATE runtime->application_url '/' guid '.pdf'
    INTO me->query->display_url.
    cl_http_server=>server_cache_upload(
                    url      = me->query->display_url
                          scope    = ihttp_inv_global
                         response = cached_response ).  
The problem is that a copy of the pdf is being cached on the user's pc in their Temporary Internet Files.  We now have an application with sensitive information displayed.  We cannot have a copy of the document stored anywhere on the user's pc.  Is there another method than the above to handle a pdf in a BSP without caching a copy?

Hi,
Refer the below codes and implement the same , it'll work for you and it's working for me...
Fill HTTP request
   mresponse->set_header_field( name  = 'content-type'
                               value = 'application/pdf' ).
some Browsers have caching problems when loading PDF format
   mresponse->set_header_field(
                      name  = 'cache-control'
                      value = 'max-age=0' ).
start PDF viewer either in the Browser or as a separate window
   if pdf_in_browser is initial.
     mresponse->set_header_field(
                        name  = 'content-disposition'
                        value = 'attachment;filename=Ordform.pdf' ).
   endif.
   mresponse->set_status( code = 200 reason = 'OK' ).
   mresponse->server_cache_expire_rel( EXPIRES_REL = 60 ).
finally display PDF format in Browser
DATA:      l_pdf_len      type i.
   l_pdf_len = xstrlen( l_pdf_xstring ).
   mresponse->set_data( data   = l_pdf_xstring
                       length = l_pdf_len ).
   navigation->response_complete( ).
   return.
Thnx
Suriya

Similar Messages

  • Can a PDF prevent itself from being cached locally?

    Hi folks -
    I work for an non-profit organization that provides retirement/medical benefits. There are a number of PDF fillable forms that we would like to provide access to via our portal, forms that may require our users to enter sensitive information such as Social Security Number, etc. This isn't really a pressing concern for our users on their home computers, but we are concerned about caching of this kind of data on a borrowed machine or a public machine.
    I know that Reader local caching can be avoided via deselection of the "Use Page Cache" setting. However, we'd like to take this concern out of the equation from the start and avoid having the users themselves being required to stop the local caching. Is there any way to create a PDF that will not be eligible for local caching? Does anyone have any suggestions other than that for how we can avoid this situation?
    Thanks in advance!
    Frank

    Thanks for the reply, Michael.
    I understand what you are saying, and was aware of those aspects of PDF usage, but let me re-phrase what I am asking: if a user looks at a fillable form, fills out their info, prints the completed PDF form, and closes either Adobe Reader or their browser session that presented the PDF (more likely the latter scenario), how can we ensure that none of the information they entered remains accessible on the computer that person was using?
    Thanks -
    Frank

  • Return after PDF display

    I have a BSP that generates a PDF from a smartform when the user clicks a button, returns it as an XSTRING, and displays it, based on notes i found on other threads here. The smartform comes up fine, but when i close the page with the PDF displayed, the BSP view that was displayed when the smartform was generated is still there, hanging... no navigation is possible.
    folowing is my code... loadsheet is an object that generates my smartform and returns the xstring with the otf data in it. this is working FINE, as i can see the data when i comes back. One thing is that the PDF comes up in its own window, which is fine. but like i said the original window becomes "locked"
    * create the truckload list
      create object loadsheet
        exporting
          trkid = truck-trkid.
      formdata = loadsheet->return_xstring( ).
      response->set_header_field( name  = 'content-type'
                                   value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
      response->set_header_field(
                         name  = 'content-disposition'
                         value = 'attachment; filename=test.pdf' ).
      formlength = xstrlen( formdata ).
      response->set_data( data   = formdata
                          length = formlength ).
      navigation->response_complete( ).
    i would like to have the PDF displayed, and have the original view simply return to where it was.
    i am pretty new to this BSP thing, so any help would be appreciated....

    Hi,
    Try this different approach to display PDF:
    <b>* onInputProcessing or Oninitialization - Depends upon your need</b>
    DATA: cached_response TYPE REF TO if_http_response.
    DATA: guid TYPE guid_32.
    * generated result: PDF format
      data: pdfcontent  type xstring,
            lt_lines       type table of tline,
            ls_line        type tline,
            l_pdf_len      type i.
        CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
        l_pdf_len = xstrlen( pdfcontent).
        cached_response->set_data( data   = pdfcontent
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      ENDIF.
      RETURN.
    <b>* Page attibutes:</b>
    display_url type string.
    <b>Add this code in the layout</b>
    <%  IF display_url IS NOT INITIAL.
          %>
          <s  cript language="Javascript"> " remove space between s cript
            window.open("<%= display_url%>").focus();
          </script>
          <%
      ENDIF.
    %>
    Hope this should sove your problem.
    Raja T

  • Convert ABAP Spool to PDF and display in BSP

    Hello SDNers,
    I have a requirement to display an R/3 report in Portal as PDF. I have chosen the route of creating a BSP which will show the report as PDF.
    I will then create a BSP iView in Portal pointing to this application.
    I am following the weblog /people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
    and few SDN forums:
    Display result of standard report RPTEDT00 within BSP
    Re: PDF Output
    I am new to BSP development and I am not able to put all the pieces of code together.
    I would really appreciate if you can help me put the pieces together and help me out with this.
    More details:
    This custom report displays the summary of Benefits Cost Accounting (by PERNR and current year).
    Once the report is run, I would like to get hold of the spool and convert the spool to PDF.
    In my BSP I would like to get the spool (or the binary of the PDF) and display the report as PDF in the BSP application.
    I have created the BSP application using the code given in the above weblog.
    I am not sure how to proceed further with the requirement.
    Looking forward for your suggestions and help.
    Thanks,
    Kalyan

    Hi kalyan,
    go thru this wiki and you will have what you need all at one place. the piece you might want to look at is ABAP spool to PDF. It even contains complete code.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/pdf
    hope this helps.

  • PDF download from BSP application

    hi all,
    With the bellow code i am able to download to PDF from BSP application
    Issue is when i click on the download button waiting popup window is not disappearing even after PDF displayed.
    Please help me to resolve how to stop this waiting popup window.
    response->delete_header_field( name = 'Cache-Control' ).  "#EC NOTEXT
      response->delete_header_field( name = 'Expires' ).        "#EC NOTEXT
      response->delete_header_field( name = 'Pragma' ).         "#EC NOTEXT
    Deactivated because of Note 904314 and Kompression in Kernel
      response->set_compression( options = '4' ).
      response->set_header_field( name  = 'content-type'
                                  value = 'application/pdf' ).
      response->set_header_field(
                         name  = 'cache-control'
                         value = 'max-age=0' ).
        response->set_header_field(
                           name  = 'content-disposition'
                           value = 'attachment; filename=candidate.pdf' ).
      l_pdf_len = XSTRLEN( l_pdf_xstring ).
      response->set_data( data   = l_pdf_xstring
                          length = l_pdf_len ).
      navigation->response_complete( ).
    Any help on this is highly appreciated.
    Thanks,
    Ravi

    May be you can navigate to another page AFTER the response_complete() method and show the message that 'PDF is downloaded successfully'
    or something meanful message. so that it will get a response back from server and 'wait...Processing' message might disappear.
    I'm not sure and didnt try..may be you can give it a try and let us know..
    navigation->response_complete( ).
    navigation->goto_page(....)

  • Pdf display issues in IE.

    I seem to have a tricky issue with displaying pdf through a java servlet in IE. The pdf displays properly when i hit the servlet for the first time; but when i try to open a new window I get a blank screen. I see in the browser status that the pdf is downloading but nothing appears in the IE7 browser window. There is no such issue in firefox or safari. I have a pretty standard generic servlet to display all content files and not just pdf files. I can post the code if required. Let me know if any ideas on how to debug/solve this ?

    Thanks for the pointers. I havent had the chance to debug a lot. but after seeing your comment it does look like some kind of caching or session related issue. So if you open a completely new IE browser window then the pdf opens up fine but not from the same window (in a new tab) ? Unfortunately we have a the pdf in a iframe in our portal and a link to open the pdf in a new window !!

  • Pdfs display fine in every other browser and on pc, just not in ie

    Can't view PDF on the web
    have done EVERY single thing on this page to no avail, pdfs display fine in every other browser and on pc, just not in ie
    I have acrobat pro 11 and windows 8.1
    have tried every help article on the internet I can find and still nothing...am probably going to have to get used to another browser, this issue has taken hours and hours and still cannot get it to work

    Install the latest update of Reader or Acrobat (done, no effect)
    Adobe releases free security updates quarterly. It is important to update your version of Reader or Acrobat to the latest release. The updates often include fixes to common problems. Download the latest free update:
    Note: Microsoft Windows 7 requires Adobe Reader 9.2 or later.
    1.      Open Reader or Acrobat.
    2.      Choose Help > Check for Updates. If a new update is available, it installs automatically.
    3.      Once installed, restart your computer.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Refresh or reload the page (done, no effect)
    Often, just refreshing the page allows the PDF to load fully.
      Hold down the Shift key and press the    Refresh or    Reload button in the browser.
    Try to view a different PDF (done, no effect)
    Try viewing a different PDF. For example, see if this sample form<http://help.adobe.com/en_US/Acrobat/9.0/Samples/flatform.pdf> displays in your browser.(DOES NOT OPEN) If Acrobat or Reader can open the sample form, then the other PDF could be damaged or the web server could be having problems. If possible, contact the individual or company who manages the website.
    1.      Try to view a PDF on your hard drive .  (ALL PDFS OPEN ON HARD DRIVE)
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with the browser or its settings?
    Use a different web browser  (Pdf'S open in alternate browsers)
    Certain conditions on your computer, such as security settings or browser cookies, can prevent you from viewing a PDF. Often, the fastest solution is to try to open the page using a different browser. Try any of the following browsers that you have not already tried:
    Mozilla Firefox<http://www.mozilla.com/firefox/>
    Microsoft Internet Explorer<http://www.microsoft.com/windows/internet-explorer/default.aspx>
    Apple Safari<http://www.apple.com/safari/download>
    For a list of compatible browsers for Reader and Acrobat X, see this list of Compatible web browsers<http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html>.
    Switch to Compatibility View (Internet Explorer) (done, no effect)
    Some websites display better in the Compatibility View of Internet Explorer. The Compatibility View displays a page as if it was an earlier version of the browser. For instructions on how to switch to this view, see one of these documents on the Microsoft website:
    Internet Explorer 9: How to use Compatibility View in Internet Explorer 9<http://windows.microsoft.com/en-us/windows7/How-to-use-Compatibility-View-in-Internet-Expl orer-9>
    Internet Explorer 8: Why are some web pages blank or incorrectly displayed in Internet Explorer<http://windows.microsoft.com/en-US/windows7/webpages-look-incorrect-in-Internet-Explorer>.
    Restart your computer and try opening the PDF again (done, no effect)
    Restart your computer, then open the web page again. Restarting clears the computer memory and memory cache. It is surprising how often simply restarting your computer resolves a display issue.
    Delete temporary Internet files (Internet Explorer, Firefox, and Chrome) (done, no effect)
    Clear the browser cache (sometimes called 'temporary Internet files') to ensure that you are viewing a fresh version of the page. When you open a web page, the browser saves a temporary copy so that it opens more quickly next time. You want to force the browser to load the entire page directly from the server, rather than displaying a stored copy.
    Reset the Display PDF In Browser preference (done, no effect)
    1.      In Reader or Acrobat, right-click the document window, and select Page Display Preferences.
    2.      From the list at left, select Internet.
    3.      Deselect Display PDF In Browser, and then click OK.
    4.      Choose Edit > Preferences > Internet, select Display PDF In Browser, and then click OK.
    5.      Try to open the PDF again from the website.
    View PDF in 32-bit version of Internet Explorer or Safari (done, no effect)
    Acrobat and Reader are 32-bit applications on Windows. If you try to open a PDF in a 64-bit version of Internet Explorer, the PDF opens in stand-alone Acrobat or Reader, not in Internet Explorer.
    Remove DreamFactory (Firefox only) (done, no effect)
    If you receive the error "Cannot use Adobe Reader to view PDFs in your web browser," do the following:
    1.      Choose Start > Run, type appwiz.cpl in the Open text box, and then click OK to open the Add Or Remove Programs dialog box.
    2.      Select Change Or Remove Programs in the Add Or Remove Programs dialog box, select DreamFactory Runtime for Netscape, Mozilla and Firefox, and click Change/Remove.
    3.      Click OK in the Remove Programs From Your Computer dialog box.
    To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
    Problem with Reader or Acrobat?
    Remove unmatched or multiple versions of Reader or Acrobat  (already did this including running a cleaner from the Adobe site) (done, no effect)
    Repair Reader or Acrobat (done, no effect)
    Reader or Acrobat could be damaged. Repairing the installation is a quick troubleshooting safeguard.
    Repair from within Reader or Acrobat (done, no effect)
      (Reader) Choose Help > Repair Adobe Reader Installation.
      (Acrobat) Choose Help > Repair Acrobat Installation.
    Repair using Control Panel (Windows) (done, no effect)
    You can also repair your Acrobat or Reader installation using the Windows Control Panel.
    Enable the Adobe PDF browser add-on (Internet Explorer) (done, no effect)
    Make sure that the Adobe PDF browser add-on, AdobePDF.dll, is enabled.
    Run Acrobat or Reader in a new local administrator account (done, no effect)
    Optimize large PDF files (not the problem)
    If the PDF file is 4 MB or larger, ask the provider to optimize the PDF file. For information about optimizing PDF files, see
    Check the registry path for Acrobat or Reader (Windows) (done, no effect)
    Repair the HKCR\AcroExch.Document registry key (Windows) (done, no effect)

  • [Bug Report] CR4E V2: Exported PDF displays Japanese characters incorrectly

    We now plan to transport a legacy application from VB to Java with Crystal Reports for Eclipse. It is required to export report as PDF file, but result PDFs display Japanese characters incorrectly for field with some mostly used Japanese fonts (MS Gothic & Mincho).
    Here is our sample Crystal Reports project:   [download related resources here|http://sites.google.com/site/cr4eexportpdf/example-of-cr4e-export-pdf]
    1. PDFExportSample.rpt located under ..\src contains fields with different Japanese fonts.
    2. Run SampleViewerFrameClient#main(..) to open a Java Report Viewer:
        a) At zoom rate 100%, everything is ok.
        b) Change zoom rate to 200% or 50%, some fields in Japanese font collapse.
        c) Export to PDF file,
             * Fonts "MS Gothic & Mincho": both ASCII & Japanese characters failed.
             * Fonts "Meiryo & HGKyokashotai": everything works well.
             * Open PDF properties, you will see all fonts are embedded with built-in encoding.
             * Interest to note that copy collapsed Japanese characters from Acrobat Reader, then
               paste them into a Notepad window, Notepad will show the correct Japanese characters anyway.
               It seems PDF export in CR4E mistaking to choose right typeface for Japanese characters
               from some TTF file.
    3. Open PDFExportSample.rpt in Crystal Report 2008 Designer (trial version), and export it as PDF.
        The result PDF displays both ASCII & Japanese characters without any problem.
    Test environment as below:
    * Windows XP Professional SP3 (Japanese) with MS Office which including extra fonts (i.e. HGKyokashotai)
    * Font version: MS Gothic, Mincho, Meiryo, all in Version 5.0
        You can download MS Meiryo from Microsoft's Site:
        http://www.microsoft.com/downloads/details.aspx?familyid=F7D758D2-46FF-4C55-92F2-69AE834AC928&displaylang=en)
    * Eclipse 3.5.2
    * Crystal Reports for Eclipse, V2, 12.2.207.r916
    Can this problem be fixed? If yes how long will it take to release a patch?
    We really looking forward to a solution before abandoning CR4E.
    Thanks for any reply.

    I have created a [simple PDF file|http://sites.google.com/site/cr4eexportpdf/inside-the-pdf/simple.pdf?attredirects=0&d=1] exported from CR4E. It is expected to display "漢字" (or in unicode as "\u6F22\u5B57"), but instead being rendered in different ones of "殱塸" (in unicode as "\u6BB1\u5878").
    Look inside into this simple PDF file (you can just open it with your favorite text editor), here is its page content:
    8 0 obj
    <</Filter [ /FlateDecode ] /Length 120>>
    stream ... endstream
    endobj
    Decode this stream, we get:
    /DeviceRGB cs
    /DeviceRGB CS
    q
    1 0 0 1 0 841.7 cm
    13 -13 569.2 -815.7  re W n
    BT
    1 0 0 1 25.75 -105.6 Tm     <-- text position
    0 Tr
    /ttf0 10 Tf                 <-- apply font
    0 0 0 sc
    ( !)Tj                      <-- show glyphs [20, 21], which index is to embedded TrueType font subset
    ET
    Q
    The only embeded font subset is defined as:
    9 0 obj /ttf0 endobj
    10 0 obj /AAAAAA+MSGothic endobj
    11 0 obj
    << /BaseFont /AAAAAA+MSGothic
    /FirstChar 32
    /FontDescriptor 13 0 R
    /LastChar 33
    /Subtype /TrueType
    /ToUnicode 18 0 R                            <-- point to a CMap object
    /Type /Font
    /Widths 17 0 R >>
    endobj
    12 0 obj [ 0 -140 1000 859 ] endobj
    13 0 obj
    << /Ascent 860
    /CapHeight 1001
    /Descent -141
    /Flags 4
    /FontBBox 12 0 R
    /FontFile2 14 0 R                            <-- point to an embedded TrueType font subset
    /FontName /AAAAAA+MSGothic
    /ItalicAngle 0
    /MissingWidth 1000
    /StemV 0
    /Type /FontDescriptor >>
    endobj
    The CMap object after decoded is:
    18 0 obj
    /CIDInit /ProcSet findresource begin 12 dict begin begincmap /CIDSystemInfo <<
    /Registry (AAAAAB+MSGothic) /Ordering (UCS) /Supplement 0 >> def
    /CMapName /AAAAAB+MSGothic def
    1 begincodespacerange <20> <21> endcodespacerange
    2 beginbfrange
    <20> <20> <6f22>                         <-- "u6F22"
    <21> <21> <5b57>                         <-- "u5B57"
    endbfrange
    endcmap CMapName currentdict /CMap defineresource pop end end
    endobj
    I can write out the embedded TrueType font subset (= "14 0 obj") to a file named "[embedded.ttc|http://sites.google.com/site/cr4eexportpdf/inside-the-pdf/embedded.ttf?attredirects=0&d=1]", which is really a tiny TrueType font file containing only the wrong typefaces for "漢" & "字". It seems everything OK except CR4E failed to choose right typefaces from the TrueType file (msgothic.ttc).
    Is it any help? I am looking forward to any solution.

  • How to correct bad PDF display of Excel 2007 graph-Adobe Pro X?

    Just installed Adobe Acrobat Pro X; previously had Adobe Pro 8, which worked fine.  Have Excel 2007 files with an Excel graph and a JPG image on the spreadsheet tab.  Both the graph and the JPG are too big, are displaced, and hide spreadsheet data, when the Excel file is Saved As a PDF using Adobe Pro dialog or Excel dialog, or the Excel Plug-In to Create PDF.  For some strange reason, printing to PDF works, although that is limiting.  All of the settings are the same for the Adobe Printer as Adobe Pro settings.  Changing them or going to default did not help.  Just did the latest update; that did not help.
    The graph and JPG are too large for the PDF page.  Paper printing from Excel still works fine. Producing a PDF on another machine with Pro 8 still works fine.  Could not find this problem discussed anywhere.  Using XP, fully patched.  This should not be a complicated process, nor a complex spreadsheet. What is going on?
    Thanks

    Regardless of the method and Adobe product used to create the PDF, including the Excel tool button, the single common factor whether the PDF correctly displays a JPG or graph in the Excel file that is being done at anything other than 100% size is whether the Adobe Printer or a Physical Printer is selected as the default printer in the Windows Printers and Faxes-Settings.  This is true even though the printer is not being used. I have created the same PDF using every method/product and the results are always the same, and only properly display when either the setting is 100% size or the system printer is selected as Adobe Printer.  This is true only after installing Adobe X (8 was previously installed, and worked as expected).
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> "Bill@VT" <[email protected]> 4/7/2012 7:21 AM >>>
    Re: How to correct bad PDF display of Excel 2007 graph-Adobe Pro X? created by Bill@VT ( http://forums.adobe.com/people/Bill%40VT ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4319297#4319297 )
    You say the settings for the printer work fine, but do not for PDF Maker (I am assuming this is what you meant). PDF Maker no longer uses the printer and the settings are independent. Check the settings for PDF Maker under the create PDF menu.
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4319297#4319297
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4319297#4319297. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • How to downlaod latest pdf portfolio and not browser cached old version?

    I have an index.html page. This page has a simple >Download portfolio pdf< button. On clicking this my latest portfolio pdf can be downloaded. As my pdf will be regularly updated how can I make sure that the viewer gets the latest pdf version and not cached version?

    John... If the PDF is already in the cache, it might not be downloaded again from the server... resulting in the visitor seeing the older version.
    You might want to check in on this similar discussion about appending a random number or time/date on the end of that file name so the browser always looks for a different version (which will be the most current):
    http://forums.adobe.com/thread/941787
    This method is commonly used in "News Tickers" and other such applications that are constantly being updated.
    Best wishes,
    Adninjastrator

  • GIF files not being cached for toolbar (WEB Forms)

    I realized that the GIF files we are using
    in our toolbars are not being cached by the
    browser. I analyzed the file XLF.LOG and
    the files always have access code "200"
    (not cached). The file REGISTRY.DAT has
    the same problem. Only the JAR file has
    access code "304" (cached). Although these
    GIF files are small (~900 bytes), it takes
    many seconds to open each form when someone
    executes our application using a low speed
    line (many of our forms have toolbars
    with more than 30 icons). Is there any
    special configuration I have to do or this
    will be corrected in future versions?
    XLF.LOG (first and second execution):
    #Version: 1.0
    #Software: Oracle WRB Log Server
    #Fields: clf
    1.0.5.57 - - [24/Jan/2000:07:45:48 -0300] "GET /htm/sales HTTP/1.0" 200 1440
    1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /htm/ HTTP/1.0" 200 760
    1.0.5.57 - - [24/Jan/2000:07:45:51 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:45:53 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
    1.0.5.57 - - [24/Jan/2000:07:45:55 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
    1.0.5.57 - - [24/Jan/2000:07:46:06 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
    1.0.5.57 - - [24/Jan/2000:07:47:28 -0300] "GET /htm/sales HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /htm/ HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:30 -0300] "GET /forms_code/f60all.jar HTTP/1.0" 304 0
    1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/javax/swing/JInternalFrame.class HTTP/1.0" 404 99
    1.0.5.57 - - [24/Jan/2000:07:47:32 -0300] "GET /forms_code/oracle/forms/registry/Registry.dat HTTP/1.0" 200 4122
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/PASSWORD.gif HTTP/1.0" 200 853
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/HELP.gif HTTP/1.0" 200 898
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/KEYS.gif HTTP/1.0" 200 864
    1.0.5.57 - - [24/Jan/2000:07:47:45 -0300] "GET /img/EXIT.gif HTTP/1.0" 200 888
    null

    Have you tried turning on the "File Caching" setting under the "Server" branch for you Listener under OAS?

  • PDFs display differently in Internet Explorer 9 versus FireFox

    We use Adobe Reader X in all cases (10.4.1)
    On old computer, we have a website we go to using Internet Explorer (version 8.x on XP) where we ope/save & print to a PDF file. The information on the PDF prints vaules in a certain order - for example:   A,B, C    --works great--this is what we want it to do.
    We buy a new computer, Windows 7 with IE9, and the PDF displays with the same values in this order:  C,B, A  -   not good, do not want that.
    We try FireFox on the new computer  -- works great --just like it did on the old computer.
    What setting in IE9 is causing this PDF to display differently than in FireFox (or IE8)?
    UPDATE:  We did load IE8 on Windows 7 (by uninstalling IE9) and the PDF works fine --so it's not just something unique to FireFox. IE9 is displaying information in this PDF differently--why?

    Add/update these params in your web.xml and redeploy so the style class names are not optimized and client debugging is easier.
    <context-param>
        <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name>
        <param-value>true</param-value>
      </context-param>
      <context-param>
        <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
        <param-value>true</param-value>
      </context-param>

  • Does Safari support a interactive PDF with hidden layers? I'm on version  5.0.3 and the interactive PDF displays just fine, but our web development team tells me all the layers display when they view the same PDF on Safari.

    Does Safari support interactive PDFs with layers? Through the use of hidden layers and buttons we built in interactivity that allows the viewers to click on buttons to display different content. When I view the PDF in Safari 5.0.3 on my Mac OS 10.5.8 the PDF displays fine and the interactivity works. However our web design firm tell me the PDF displays all the hidden layers when they view it in Safari. Who's right?

    Try updating your Safari to the latest version, 5.0.5.
    Also check whether the rest of your system is up to date by going to Software Update in the Apple menu.

  • In PDF display of smartform in polish langauge - copyright character prob

    hi gurus!
    In PDF display of smartform in polish langauge - copyright character is not displaying properly.its showing # for copyright character. but It displays in english language.
    please need ur help.
    thanks
    SG

    Please note - the duplicate post in General has been deleted  Please only post a question in one forum.
    Thank-you

  • Web Part or Page being Cached

    I put a Business Data List web part on a Web Part Page in SharePoint 2010. The page is being cached. I keep getting old, same, and incorrect results all the time whenever I click the Retrieve button.
    How can I stop the Page from being cached? Thanks.
    Mayank

    Hi,
    According to your post, my understanding is that you wanted to stop the Web Part or Page from being cached.
    Per my knowleadge, the default implementation of the BDC service and the related Web Parts do not provide a caching mechanism for storing the retrieved information. The entity information is retrieved from the BDC and is stored
    directly into the ASP.NET cache. You can refer to:
    Caching in SharePoint
    I recommend to open the web.config file in SharePoint's web site and change to
    <WebPartCache Storage="None" />, then restart IIS (iisreset at a command prompt will do).
    More information:
    SharePoint and Web Part Caching
    Web Parts and Caching
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

Maybe you are looking for

  • How to load BeginningBalance and movements into HFM via FDM from ERPI

    I have a file generated by ERPI with the columns of |AMOUNT|BEGIN_BALANCE_DR|BEGIN_BALANCE_CR|PERIOD_NET_DR|PERIOD_NET_CR| among many other columns. How can load them via FDM into the Custom1 dimension in HFM, which contains BeginningBalance, Additio

  • Foreign Currency Valuation in New GL

    Hi All.. i have one issue can any please help on this and this issue relating to new GL accounting. we are having two ledger one is 0L it is leading ledger FY april to March and another ledger is Q1 non-leading ledger FY is Jan to Dec. when i do fore

  • Prompts to open or save aspx page instead of loading page

    On some ASPX pages (Particularly SharePoint) Firefox prompts me to save or open file with Visual Studio.

  • Exception while accessing web application

    Hi All, I have deployed my web application on OC4J 10.1.3. But while accessing application i am geeting NullPointer Exception below is the complete stack trace for the same. java.lang.NullPointerException at org.mortbay.servlet.jetty.IncludableGzipFi

  • Customers are not able to open my Quote form I save and send on email.

    I need your help.  I have a company provided quote form that is fillable with information that I save and email to clients.  I have had many customers say that they cannot open and see the quote I have attached to their email.  What am I doing wrong