Opening pdf from aqualogic

can anybody tell me how i can open a pdf file (retrieved from database as a binary stream) in a jsp, which is called by an interactive activity in ALBPM.i cannot get hold of the servlet to write response.setContentType("application/pdf").All I do is call the Fuego.Net.JSP component and use its show method and pass the arguments (request&response).If it is possible in Fuego Presentation by any means, plz sugggest.Thanks in advance.

Hi,
I would like to know how to go about doing this as well, regardless of the file extension type. From the Studio's sample example, it only demonstrates the uploading of file (FileChooserTest.fpr), but not the downloading portion.
If anyone has any idea on this, please kindly tell me about it.
Thanks in advance

Similar Messages

  • Unable to open pdf from some particular shared folder which is not in domain

    Encountered a strange issue here.
    We have copuple of users who login with Citrix session.
    They are able to open pdf from all the shared folders but not one which is not in domain.
    User are able to open all other files viz. doc, excel, notepad and so from that particular folder.
    Issue with all the pdf files and not only one particular file.
    Double clicking the pdf file starts the process AcroRd32.exe but the file does not open.
    If an already running AcroRd32.exe process is there (means if Adobe Reader is already open), then it's possible to open the pdf files from that folder.
    Moreover, came across one strange thing.
    I created a shortcut to one of the pdf file from that folder within the same folder.
    And it was possible to open pdf file from that shortcut but not directly :S
    Gives error: "Acrobat failed to connect DDE server" after about 20 mins if we try to open file directly.
    Googled a bit and found that issue can be resolved by navigating to
    HKEY_CLASSES_ROOT\acrobat\shell\open\ddeexec\application and changing the Key "AcroviewA10"  to  "AcroviewR10
    But when I navigated to the mentioned registry there was no AcroviewA10 but instead it was just Acroview.
    Adobe Reader version: 9.5.5
    I will be really grateful if somebody can provide solution for this.

    What happens when you open the Adobe app, then tell it to open the file?
    How big are the attachments?  There are limitations to the size allowed to be sent:
    Email Provider
    Size Limit
    Gmail
    25Mb
    Outlook
    20Mb
    Yahoo
    25Mb
    Are you sending the files to yourself?  Not sure how you are emailing files from a website...
    Are the PDF's password-protected, or some kind of copyrighted eBook perhaps?  Can you email other files successfully, or are PDF's the only files that don't work?
    Perhaps using a free Cloud service as an intermediary might work better.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9alredy

    Error message says need Adobe reader 8 or 9 installed to open pdfs from web pages yet Reader 9 is alredy installed on computer. Is this a 64 bit ossue although I am sure I did not have this problem prior to a replacement hard drive being installed.

    What is your operating system, browser?
    What is the exact message you are getting?

  • Can't open PDFs from Outlook Access denied

    We are trying to open PDFs from Outlook in Reader XI.  Even after disabling protected mode, continue to receive the message "There was an error opening this document.  Access denied.".  Any suggestions?
    Thanks

    A. Fix One PC
    Launch Adobe Acrobat Reader X
    Go to: Edit > Preferences...
    Click on "General" in the left pane.
    Uncheck "Enable Protected Mode at startup"
    You will prompted with a dialog box to remind you to close the application for the change to go into effect. Click Yes.
    Click OK to save your change.
    Exit Adobe Reader
    B. Fix Several PCs in Your Organization
    Following the above steps aren't practical if you have Adobe Acrobat installed on 1,000+ computers in 30 regional offices! Push this registry setting using your standard software deployment software.
    [HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\10.0\Privileged]
    "bProtectedMode"=dword:00000000

  • Installed Pro 9 and Reader 9 now cannot open pdf from web, but can from an email?

    Installed Both Adobe Acrobat 9 professional and reader 9 yesterday on co worker machine. Went to open a pdf attachement in email no problem. Went to web to download and open a pdf and will not let her, giving co worker the error message need reader 8 or 9 to open this document!
    have unistalled 9 reader and reinstalled same problem.
    So then uninstalled reader 9 and can now open pdf from the web
    My machine has both on and no problems.
    Thank YOU for your help!!

    It may be that you will need to uninstall Reader and Repair Acrobat after the uninstall. Adobe does not recommend the installation of both products. Since you have already done the uninstall and things work fine with just Acrobat, leave things alone as that is the recommended installation.

  • Access Denied Bug Opening PDFs from the DFS in Reader X

    Hi,
    Do you have any timelines for when a bugfix will be released for the Access Denied problems when opening PDFs from a DFS share with Protected Mode enabled? We were hoping to make use of the new sandboxing technology within the corporate environment, as recent issues with security vulnerabilities (in Adobe Reader 9, the authplay.dll issues) would be mitigated by the technology. However, as the Protected Mode does not work when opening from the DFS there is no point in moving to Adobe Reader X from 9.4.1 at the moment.
    It would be good to have a release date so that we can start taking advantage of the technology as soon as we are able to.

    There's no dates, or indications of when this will be done. Thanks for your useful assistance though.

  • Acrobat reader XI cannot open pdfs from IE9

    My pc has IE9, windows 7.  After I installed Acrobat reader XI, I can no longer open pdfs from a secure website.  Can anyone help?

    "Internal Error Occurred" appears when .pdf is opened from Outlook 2010 email
    I am absolutely pulling out my hair over this one!!
    PC/Win 7 64bit/Adobe XI/Office 2010
    I have tried Uninstalling and re-installing
    I have tried using an adobe software removal tool
    I have tried modifying the security settings in reader
    I've tried running repair on MS Office
    If you open the .pdf from an email directly, it opens Reader with the error "Internal Error Occurred"
    If you drag and drop the .pdf onto the desktop, and then open it, it opens.
    If you open Adobe Reader FIRST, then open the .pdf from the email, it opens fine.
    ONLY when you open a .pdf from an email with Adobe Reader closed (so Outlook is asking AR to open first, and then present the .pdf) is it behaving this way.
    Hypothesis: Outlook 2010 does not like to open Adobe Reader.
    SO....tell me all of you brilliant geniuses? How do I solve this puzzle and become an end user's hero?

  • CS6: DistributedCOM Error id: 10016 when open pdf from web page in Win8.1

    For example here below I've got the issue: 
    http://modemwifi.it/wp-content/uploads/asus-dsl-n55u.pdf
    Adobe Acrobat X pro V 10.1.8:
    DistributedCOM Error id: 10016 when open pdf from web page.
    Nome registro: System
    Origine:       Microsoft-Windows-DistributedCOM
    Data:          04/11/2013 19:09:19
    ID evento:     10016
    Categoria attività:Nessuna
    Livello:       Errore
    Parole chiave: Classico
    Utente:        PC-PIERO\Piero
    Computer:      Pc-Piero
    Descrizione:
    Le impostazioni delle autorizzazioni impostazioni predefinite del computer non concedono l'autorizzazione di Attivazione in Locale per l'applicazione server COM con CLSID
    {B801CA65-A1FC-11D0-85AD-444553540000}
    e APPID
    {2EAF0840-690A-101B-9CA8-9240CE2738AE}
    all'utente Pc-Piero\SID Piero (S-1-5-21-3453328585-262132574-2759341577-1001) dall'indirizzo LocalHost (tramite LRPC) in esecuzione nel SID del contenitore di applicazioni Non disponibile (S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394). Per modificare tale autorizzazione di sicurezza, è possibile utilizzare lo strumento amministrativo Servizi componenti.
    XML evento:
    < Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-DistributedCOM" Guid="{1B562E86-B7AA-4131-BADC-B6F3A001407E}" EventSourceName="DCOM" />
        <EventID Qualifiers="0">10016</EventID>
        <Version>0</Version>
        <Level>2</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8080000000000000</Keywords>
        <TimeCreated SystemTime="2013-11-04T18:09:19.468877700Z" />
        <EventRecordID>14806</EventRecordID>
        <Correlation />
        <Execution ProcessID="768" ThreadID="776" />
        <Channel>System</Channel>
        <Computer>Pc-Piero</Computer>
        <Security UserID="S-1-5-21-3453328585-262132574-2759341577-1001" />
      </System>
      <EventData>
        <Data Name="param1">impostazioni predefinite del computer</Data>
        <Data Name="param2">Locale</Data>
        <Data Name="param3">Attivazione</Data>
        <Data Name="param4">{B801CA65-A1FC-11D0-85AD-444553540000}</Data>
        <Data Name="param5">{2EAF0840-690A-101B-9CA8-9240CE2738AE}</Data>
        <Data Name="param6">Pc-Piero</Data>
        <Data Name="param7">Piero</Data>
        <Data Name="param8">S-1-5-21-3453328585-262132574-2759341577-1001</Data>
        <Data Name="param9">LocalHost (tramite LRPC)</Data>
        <Data Name="param10">Non disponibile</Data>
        <Data Name="param11">S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1 277922394</Data>
      </EventData>
    < /Event>
    How can I solve this problem?
    Thanks

    // I got this from an Action (I�m using Struts)
    java.sql.Blob file=(java.sql.Blob)request.getAttribute("PDFfile");
    String filename=(String)request.getAttribute("filename");
    try{
      int iLength = (int)(file.length());
      response.setHeader("Content-type", "application/pdf");   
      response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"");
      response.setHeader("Expires","0");
      response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
      response.setHeader("Pragma","public");
      response.setContentLength(iLength);
      ServletOutputStream os = response.getOutputStream();
      InputStream in = null;
      in = file.getBinaryStream();
      byte buff[] = new byte[1024];
      while (true) {
          int i = in.read(buff);
          if (i<0) break;      
          os.write(buff,0,i); 
      os.flush();
      os.close();
    } catch(Exception ex){
       out.println("Error while reading file : " + ex.getMessage());
    }and now it�s running !!! I�m not using response.setContentType(...) and I do this in response.setHeader("Content-type", "application/pdf"). And I use response.setHeader("Content-Disposition", "inline; filename=\""+filename+"\"") instead of response.setHeader("Content-Disposition", "attachment; filename=\""+filename+"\"");

  • Safari hijacked by Adobe Reader - cant open pdfs from Safari

    I would greatly appreciate any help cant seem to find this exact problem elsewhere.
    I have a Macpro (new tower) running  10.9.4
    A few days ago I received an email from a trusted friend which included a link. I followed the link which asked me to download Adobe Reader which i foolishly did. Since then when I try to open a PDF from Safari I get the following message "Before viewing PDF documents in this browser you must launch Adobe Reader and accept the End User Licence Agreement, then Quit and relaunch the browser"
    Please note I can still open PDFs from the Finder and other browser's (e.g. Opera) also allow me to download
    I went to the Adobe site and downloaded Reader but it wont let me complete the installation. I fear my Mac has been infected by a trojan etc and can't seem to find out how to get around this.
    So far I have tried
    1) went to /Library/Internet Plug-ins - but nothing there
    2) reinstall of Mavericks
    Any help appreciated. I suppose a clean reinstall would help but don't want to do that just yet

    Open a Finder Window.
    Click on the Go in the menu bar.
    Press on option on the keyboard, "Library" will appear. Click on that.
    In the new Finder Window that it opens up, or the one that you have opened already. It'll show that particular folder. In that folder is Internet Plug-ins.
    Check to see if Adobe is in there. If so, delete it and reboot.
    I honestly thought it was in the same folder that you tried, but I don't remember at the moment. So my instructions are just a shot in the dark.
    KOT

  • Opening PDFs from gMail account in iBooks

    I've previously opened PDFs from gMail messages using iBooks but today, for some unknown reason, I cannot open any new PDF file attachment larger than 200k.
    iPod Touch 8GB (2nd generation) using iOS4.1- Still have 5.7GB available so I'm not sure why certain size files won't open.
    I've even tried using Safari w/ gMail account - In both cases, as soon as I try to open the PDF attachments w/ iBooks, the display drops out without transferring to Ibooks as it used to do.
    Message was edited by: MacNoob0909

    Tried resetting - No joy.
    When I tried to open the attachment w/ "iBooks", the iPod switched to iBooks and an "Untitled" file showed on the bookshelf momentarily then the display dropped out and returned to the "Home" screen. No joy there.
    Even tried opening w/ "Quick Look" - Again, no joy. Just a dropout and back to the "Home" screen.
    Looks like I may have to do a total reset - Now iBooks loads w/ "Untitled" file displaying and then the display drops w/ a return to the home screen - In the process of total reset as I write this - Will update after I do a restore. - Its going to take at least 2 hours for reset/restore operation.
    Message was edited by: MacNoob0909

  • Using a trial version of Acrobat X1 I am unable to open pdfs from Firefox. Solution?

    Using a trial version of Acrobat X1 I am unable to open pdfs from Firefox. Solution?

    Which operating system?
    Have you tried using other browsers?

  • I cannot open pdfs from my email

    I cannot open pdfs from my email

    Do you really expect that someone will be able to help you with the amount of information you provide...?
    What is your operating system?
    What is your email client?
    What is your Reader version?
    What exactly means "cannot"?

  • Cannot open PDFs from a link in another PDF

    Hello, I am having a strange issue on some of my users' adobe readers. (2 users on windows 8.1 PCs)
    I have created an "app choser" (see below image) which is basically an "easy one page choser" for the different "fillable forms" I have created which has been working perfectly up until this week. Basically there is 12 buttons and when the user presses one of these buttons,  the chosen fillable form / app opens which they can then fill in and send on as required.
    However the 2 users that are having problems, cannot open the forms at all. They click on the button but nothing at all is happening. Adobe reader is just not registering that there are links at all.
    The "app choser" works on all my users PC's except 2, so I know its not a location error or to do with updates etc.. Does anyone have any clues or ideas.
    I have already tried going into preferences - trust manager - internet access from PDF - change settings - Allow PDF files to access websites...... but this made no difference at all.
    thanks
    Sara

    doesnt matter i've fixed it. if anyone else is having the same issue then I fixed it by doing the below:
    Edit - preferences- Security enhanced -
    unclick "enable protected mode at startup" - restart adobe reader
    bizarrely i've not had to unclick this on any of my other users PC's (on both windows 7 & 8.1), but was necessary for some reason on the ones having trouble with opening PDF links from the "app chooser PDF".

  • OAF : Could not open PDF from Self Service Page or Jdeveloper.

    Hi Friends,
    We are on R12 Applications.
    Appreciate any help.
    Requirement :
    1. Open the PDF from Self Service Page.
    Error :
    Adobe Reader Could Not Open the PDF because it is either not a supported file type or the file is damaged.
    Below is my Controller and AM code
    ======================
    Controller Code
    ==========
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package XXX.oracle.apps.ak.xml.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.xml.parser.v2.XMLNode;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.XMLInterface;
    * Controller for ...
    public class XMLIntegrationCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    public static final int DEPTH = 4;
    public static final int APP_ID = 20003;
    public static final String APP_NAME = "XBOL";
    public static final String TEMPLATE_CODE ="Emp_Template";
    public static final int BUFFER_SIZE = 32000;
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    am.invokeMethod("getEmpDataXML");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    System.out.println("XXX : Event "+event);
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/PDF");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(true);
    AM CODE
    ======
    package subba.oracle.apps.ak.xml.server;
    import java.io.ByteArrayOutputStream;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.test.inputscanner.server.EmpVOImpl;
    import oracle.help.common.xml.*;
    import oracle.jbo.XMLInterface;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLElement;
    import oracle.xml.parser.v2.XMLNode;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class testXMLAMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
    public testXMLAMImpl() {
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) {
    launchTester("XXX.oracle.apps.ak.xml.server", /* package name */
    "testXMLAMLocal" /* Configuration Name */);
    public void initEmpVO()
    EmployeeVOImpl vo = getEmployeeVO1();
    if(vo == null)
    MessageToken errTokens[] = {
    new MessageToken("OBJECT_NAME", "EmployeeVO1")
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    vo.executeQuery();
    public void getEmpDataXML()
    try {
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    OAViewObject vo = (OAViewObject)findViewObject("EmployeeVO1");
    ((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
    System.out.println(outputStream.toString());
    catch(Exception e)
    throw new OAException (e.getMessage());
    /**Container's getter for EmployeeVO1
    public EmployeeVOImpl getEmployeeVO1() {
    return (EmployeeVOImpl)findViewObject("EmployeeVO1");
    }

    Try the OA Framework Forum

  • Open PDF from database in a browser and run Javascript within PDF

    What we're trying to accomplish is to query a PDF in the database and open the PDF in the browse. Once opened if a user click on a link to open another PDF, it launchs a URL to Coldfusion, that queries the database and opens the PDF link. This all works but we also want to have the open PDF goto a section or bookmark within the PDF. We currently have JavaScripts within the PDF links that do that but only if the PDF is in the file system. We're using the app.openDoc to get a reference to the opened PDF. But when opening the PDF from the database we pass the control to Coldfusion using app.launchURL or app.getURL. These do not pass back a reference to the opened PDF and the JavaScripts fails.
    I'm looking for different methods or ideas.
    Is there another way to do this, I'm new to acrobat JavaScripting?
    Thanks, Rob

    I tried tapping and holding the attachment icon, it just shows "Open / Bookmark/ Copy"...
    Also i tried opening the attachement first and then tapping on it, it just shows "open in Safari"
    Is there any settings to be done to add the options of Opening in Adobe Reader/or any other Docu Sign app . the exhibition booth systems one would work i think
    Appreciate if someone could help

Maybe you are looking for