Working with pdf streams (UIX/Struts)

I have a pdf stream that I would like to display to the user, I'm using ADF/UIX/Struts.
I generate the stream in the application module via custom method, and would like a "Download" and "View" link on the page.
Has anyone done anything similar? How should I go about this?
Many thanks

You might have to implement your own PageRenderer (oracle.cabo.servlet.PageRenderer) for this purpose.
If you have abstracted the pdf as a file or InputStream/Reader, the existing implementation in oracle.cabo.servlet.util.FileDownloadRenderer should be useful.
Javadocs (from UIX reference help topic in JDeveloper) should provide further information about these interface/class.

Similar Messages

  • How to work with PDF forms filled up by the user?

    I would appreciate any help regrading work with PDF Forms.
    I present a PDF form to users with several fields that they need to fill up.
    My problem is to receive the values of these fields back.
    In PDF forms you can add a "Submit" button that sends the fields to a given servlet.
    That, however, takes me out of my session and out of JSF navigation model.
    I can't find a way to go back.
    The PDF form is shown in an iframe, so Java Script outside of the iframe cannot know about the "Submit" button action.
    Thanks for any help or reference on this subject.

    Hi Sridhar
               Thanks for ur reply. but iam not getting any clear idea on forms.
    just i will tell u , wat i understood,if i am wrong pls correct me. in pe51 we create form layout
    and specify fields in required format, later run the program RPCEDTU0.wat is the program  for indian payroll?
    thanks in advance.

  • I am new to working with pdf.  I am trying to fill out a form that was attached to a web site.  I have a Macbook Pro.  I am just learning Acrobat.  How do I get the form to accept input?

    I am new to working with pdf.  I am trying to fill out a form that was attached to a website.  I have a Macbook Pro and I am trying to learn Acrobat.  How do I get the form to accept my input?

    If there are Acrobat PDF form fields, not jus a space for a form field, then you will have to add them. It would be better to ask the provider of the form to add the fields. If you cannot add the fields, then you can use the add text feature.
    Have you looked in the "Tools" panel for the "Forms" category?
    Try Acrobat Users Community Tutorials , http://acrobatusers.com/tutorials.
    See Adobe TV - Acrobat, http://tv.adobe.com/channel/how-to/acrobat-xi-tutorials/.

  • Working with .pdf files and JAVA

    Hi,
    does anyone have an answer to how I can find more information on .pdf files?
    I would like to convert .pdf files to textfiles and/or xml files. I can not find it in the j2se Edition, and someone told me it can be found in the j2ee edition, but I can not find anything there either. Please help..
    thanks,
    R.

    thanks for your reply. What tools do you mean? I know lots of tools for converting text to a .pdf file, but no tools for the other direction. There is an API available (commercial), that lets you work with PDF in JAVA, but i am interesting in the other possibilities.
    Regards

  • Full-Text search is not working with PDF files - SQL Server 2012 64 bit

    Hi,
    We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
    I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
    Server/DB Level Settings:
    1)
    Enable FileStream
    2)
    Install Full-Text
    then restart
    3)
    Use [specific db]
    alter
    database [db name]
    add
    filegroup Files
    contains filestream;
    alter
    database [db name]
    add
    file (
    name = N'Files',
    filename =
    N'D:\SQL\DATA') to
    filegroup [Files];
    3)
    Database level
    Settings:
    FileStream:
    FileStream
    Directory name:
    [Set the name]
    FileStream
    non-transacted
    Access: [set Appropriate]
    3a)
    Add a
    datafile to DB
    with filestreamdata
    filetype.
    4)
    Share D:\SQL\DATA
    directory and
    add specific accounts
    with read/write
    access
    5)
    Give bulkadmin
    access to those
    specific accounts
    at server
    level
    6)
    From the
    page (link)
    download and
    install the *.pdf
    IFilter for
    FTS. Link:
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
    7)
    To the
    PATH global system
    variable add
    path to the
    catalog,
    where you installed
    the plugin.
    Default for
    this version is:
    C:\Program
    Files\Adobe\Adobe
    PDF iFilter 9
    for 64-bit
    platforms\bin
    8)
    From the
    page (link)
    download a
    FilterPackx64.exe
    and install
    it. Link:
    http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
    9)
    Now from
    SSMS execute the following
    procedures:
    -sp_fulltext_service
    'load_os_resources',1
    -sp_fulltext_service
    'verify_signature', 0
    EXEC
    sp_fulltext_service
    'update_languages';
    -- update language list
    EXEC
    sp_fulltext_service
    'restart_all_fdhosts';
    -- restart daemon
    reconfigure
    with override;
    10)
    Restart the
    server
    11)
    select document_type,
    path from
    sys.fulltext_document_types
    where document_type
    = '.pdf'
    -select
    document_type,
    path from sys.fulltext_document_types
    where document_type
    = '.docx'
    12) Results are OK.
    Following is my Table /Index/ catalog script:
    CREATE
    TABLE dbo.DocumentFilesTest
    DocumentId  INT
    IDENTITY(1,1)
    NOT NULL
    PRIMARY KEY,
    AddDate datetime
    NOT NULL,
    Name nvarchar(50)
    NOT NULL,
    Extension nvarchar(10)
    NOT NULL,
    Description nvarchar(1000)
    NULL,
    FileStream_Id UNIQUEIDENTIFIER
    ROWGUIDCOL NOT
    NULL UNIQUE DEFAULT
    NEWSEQUENTIALID(),
    FileSource varbinary(MAX)
    FILESTREAM DEFAULT(0x)
    go
    --Add default add date for document   
    ALTER
    TABLE dbo.DocumentFilesTest
    ADD CONSTRAINT
    DF_DocumentFilesTest_AddDate
    DEFAULT sysdatetime()
    FOR AddDate
    EXEC
    sp_fulltext_database
    'enable'
    GO
    IF
    NOT EXISTS
    (SELECT
    TOP 1 1 FROM sys.fulltext_catalogs
    WHERE name
    = 'Ducuments_Catalog_test')
    BEGIN
    EXEC sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'create',
    'D:\SQL\PDFBlob';
    END
    --EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
    DECLARE
    @indexName nvarchar(255)
    = (SELECT
    Top 1 i.Name
    from sys.indexes
    i
    Join sys.tables
    t on 
    i.object_id
    = t.object_id
    WHERE t.Name
    = 'DocumentFilesTest'
    AND i.type_desc
    = 'CLUSTERED')
    PRINT @indexName
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'create',
    'Ducuments_Catalog_test', 
    @indexName
    EXEC
    sp_fulltext_column
    'DocumentFilesTest',
    'FileSource',
    'add', 0,
    'Extension'
    EXEC
    sp_fulltext_table
    'DocumentFilesTest',
    'activate'
    EXEC
    sp_fulltext_catalog
    'Ducuments_Catalog_test',
    'start_full'
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    ENABLE
    ALTER
    FULLTEXT INDEX
    ON [dbo].[DocumentFilesTest]
    SET CHANGE_TRACKING
    = AUTO
    ALTER
    FULLTEXT CATALOG
    Ducuments_Catalog_test REBUILD
    WITH ACCENT_SENSITIVITY=OFF;
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'pdf'
    'BOL12006553.pdf'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\BOL12006553.pdf',
    SINGLE_BLOB)
    AS BLOB;
    GO
    INSERT
    INTO DocumentFilesTest(Extension,
    Name,
    FileSource)
    SELECT
     'docx'
    'test.docx'
    * FROM
    OPENROWSET(BULK
    'd:\SQL\PDFBlob\test.docx',
    SINGLE_BLOB)
    AS Document;
    GO
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'BILL')
    Returns nothing. it should come from PDF file
    SELECT
    d.*
    FROM dbo.DocumentFilesTest
    d WHERE
    Contains(d.FileSource,
    'TEST')
    Returns from word document as follows:
    2           2014-06-04 10:11:41.393            test.docx docx           
    NULL   [BINARY Value]  [Binary Value]
    Any help is appreciated. Its been a long wait.
    Thanks,
    Vel
    Vel Thavasi

    Hello,
    Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
    The following thread is about similar issue, please refer to:
    http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Zoom to fit doesn't work with Jpegs (works with pdfs)

    Note: we are not talking about zoom to fit for pdf, etc but ONLY about zoom to fit for jpegs and similar graphics files.
    The problem: starting with Snow Leopard if you have a small picture in actual size but expand the window then click zoom to fit the picture will not expand to fit the larger window (yes it reduces resolution). Please don't tell me it works fine for PDFs, we know it does but talking about jpegs and similar graphics. Dozens have reported this problem but the response was to disregard the postings and then archive them. Does everyone have the same problem with JPEGS under Snow Leopard (with Jpegs only)? Anyone have a solution? A year ago someone posted and had dozens reply. Here is the posting a year ago:
    "Hello, just checking to see whether other people are having the same problem with Snow Leopard. In Preview, if you resize the window and then click View --> Zoom to Fit, it simply resets to actual size. In Leopard, it would resize the picture to fit the window.
    Is this broken for others? "

    baltwo wrote:
    If you want Apple's engineers to address your issue, then you'll have to take the time to register and report it via its bugreporter system; otherwise, your complaints are just rants and won't be addressed. Here's a quote from an Apple employee that worked with AppleScript:
    +"Even if we already know about the issue, bug reports help guide prioritization and may provide more information to help us reproduce a problem or help ensure an enhancement meets your specific needs.+
    +When reporting bugs, please provide detailed steps. In the case of AppleScript, a sample script that reproduces or illustrates the issue and which is as short and clear as possible helps immeasurably. (The ideal case is when the problem can be reproduced by running a script in Script Editor, without using any additional applications. If the problem requires sending events to another application, be sure to note whether the problem only occurs with that application.+
    +For enhancement requests, it helps to include a description of your general needs, not just specific UI or behavioral changes. It helps us to understand how you wish to use the software, which helps guide larger design changes."+
    If the process isn't worth your while or you don't think they're doing it correctly, then these forums are not the place to voice your objections.
    What isn't worth my while is responding to your continual posts telling me to jump through a million hoops, in territory completely foreign to me, just to describe a simple problem. Applescripts, larger design changes, sample scripts, my general needs? Come on man, one feature of a basic program is not functioning properly, this is not rocket science, nor does it entail a great deal of complicated & detailed data! And really, if these forums are not the place to voice problems with the functioning of Apple's basic software, what are they for?
    < Edited by Host >

  • Work with PDF created from scan

    Hi, how can I edit or work with text (highlight, copy...) in document which was created as PDF by scaning from the book?

    rudla wrote:
    Hi, how can I edit or work with text (highlight, copy...) in document which was created as PDF by scaning from the book?
    Perhaps, you could load the scanned document in photoshop, photoshop elements or even in Corel's Paintshop Pro.  All of these programs can be downloaded for trial use for 30 days and you never know you could be tempted to buy them because they are so good that you would want them to do wonderful things with them.
    Good luck.

  • What version of iPhoto do I need to work with Photo Stream?

    My photos taken on my iPad do not appear on my iMac even though  ICloud is set up and working.  I think the problem is that my version of iPhoto is 7.4 and I need 9.0 or above for iCloud to transfer photos without syncing.  I do not have iLife.  Will I have to purchase that in order to get the correct version of iPhoto so it will work with iCloud?  I don't really want iLife but if it is the only way i can get the iPhoto version I need, I guess I will have to purchase it.

    "I do not have iLife"
    Yes you do. It has been standard on all Macs for about 9 years.
    "I think the problem is that my version of iPhoto is 7.4 and I need 9.0 or above for iCloud to transfer photos without syncing.  I do not have iLife.  Will I have to purchase that in order to get the correct version of iPhoto so it will work with iCloud?"
    Yes, you will need to purchase iPhoto 9 to use iCloud Photo Stream.
    Go to Apple menu > App store.
    You can purchase only iPhoto 9 ?$14.99).
    You do not need the entire iLife 11 package.

  • TS3989 i4s & PC working with Photo Stream

    I have set up photo stream on my i4s and my PC running Vista several ltimes and cannot get it to work.  I have diligently followed all instructions and have been double checked to insure that I did.  On the ICloud control panel it is stated that iCloud does not support Office Outlook 2003 and earlier.  I have an older version.  Is Outlook the only email system that can be used with Photo Stream in iCloud?

    Photo stream only keeps your photos for 30 days.  After that they are removed from your photo stream but not from any device that already has the photos in their photo stream album.  Your iPad may have many photos still in its photo stream album, but only one of them may be less than 30 days old.  Therefore, when your new phone turns on photo stream only this is the only photo still available to stream to your new phone.

  • Touchup Tool does not work with PDF

    I am creating my own pdfs and when I open in acrobat pro I cannot select my text using the touchup text tool. I can select the text when I am just using a cursor, but the touchup text tool cannot seem to find it. The pdfs I am creating are very simple, but they work for everything I need them to work for except the touchup tool. Is there some coding I have to put in to make the text editable? Thanks for any help.
    1 0 obj <</Type /Catalog /Pages 2 0 R >> endobj
    2 0 obj <</Type /Pages /Count 1     /Kids [3 0 R
    ] >> endobj
    3 0 obj << /Type /Page /Parent 2 0 R /MediaBox [0 0  612  792] /Contents 4       0 R /Resources 5       0 R >>
    4 0 obj <</Length 44     >> stream
    BT   /F1   12.0 Tf  34  763 Td (A) Tj ET
    endstream   endobj
    5   0 obj <</ProcSet[/PDF /Text]     /Font<<
    /F1 6 0 R >>

    It does not say anything about about the pdf being broken when I open it in acrobat, where is the problem with it? I have a program that created this pdf file so I do not know how to fix it if it is broken.
    %PDF-1.4¹º»¼
    07/14/09                                           
    1 0 obj <</Type /Catalog /Pages 2 0 R >> endobj
    2 0 obj <</Type /Pages /Count 1     /Kids [3 0 R
    ] >> endobj
    3       0 obj << /Type /Page /Parent 2 0 R /MediaBox [0 0  612  792] /Contents 4       0 R /Resources 5       0 R >>
    4    0 obj <</Length 44     >> stream
    BT   /F1   16   Tf  34  763 Td (A) Tj ET 
    endstream   endobj
    5   0 obj <</ProcSet[/PDF /Text        ]          /Font<<
    /F1 6 0 R >>                           
                                                     >> endobj
    6   0 obj <</Type /Font /Subtype /Type1 /BaseFont /Courier                             /FirstChar 1 /LastChar 255 /Widths 7   0 R /Encoding /WinAnsiEncoding  /FontDescriptor 8   0 R>> endobj
    7    0 obj [600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 600 ] endobj
    8   0 obj <</Type /FontDescriptor /FontName /Courier                              /FontBBox [   0 -300 1000 700] /ItalicAngle   0 /Ascent 720  /Descent -280 /CapHeight 680  /Stemv 105  /Flags 42      /FontWeight  400>> endobj
    9    0 obj <</Type /Xobject /Subtype /Form /BBox [-999 -999   1000 1000] /Matrix [1 0 0 1 0 0] /Resources 5   0 R /Length 43      >> stream
    BT   /F1   12.0 Tf  34  763 Td (A) Tj ET
    endstream endobj
    10     0  obj <</Type /ExtGState /ca .15>>endobj
    11     0  obj <</Type /ExtGState /ca 1 >>endobj
    xref
    0 13
    0000000000 65535 f
    0000000068 00000 n
    0000000117 00000 n
    0000000180 00000 n
    0000000298 00000 n
    0000000401 00000 n
    0000000562 00000 n
    0000000754 00000 n
    0000001796 00000 n
    0000002023 00000 n
    0000002227 00000 n
    0000002277 00000 n
    0000000000 00000 n
    trailer <</Size 13   /Root 1 0 R>> startxref 2346      %%EOF

  • Hp 6500A plus wireless printer = hp eprint not working with pdf

    I have a brand new HP 6500 A plus wireless printer.
    I tried to print using hp eprint center by sending a pdf as attachement to printers email address.
    But the printer doesn't like the pdf and prints a error page instead with below message.
    =======
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to latest version of Adobe Reader for windows, Mac, or lInux by
    visiting blah blah blah..
    =======
    I see that i have recent version of adobe reader - Adobe Reader X - Version 10.1.0
    Please help and let me know if someone already had a solution. 
    HP Customer Support - ?
    Thanks
    Antony.
    This question was solved.
    View Solution.

    Oh..Yes. It worked. !!
    Thanks Jack for your inputs, that helped a lot.
    The issue was not with the printer, but that the PDF document itself was a secured PDF document.
    I tried copying the document from my pc to mac and tried to open the document and what i saw was exactly what got printed earlier in my first post.  Tried attaching to my email and when downloaded, the document had just those text that got printed (also pasted below).
    Finally got it working when directly printed from the pc over wireless(or wired). Looks good now . 
    =======
    Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF
    viewer may not be able to display this type of document.
    You can upgrade to latest version of Adobe Reader for windows, Mac, or lInux by
    visiting blah blah blah..
    =======
    Thanks
    Antony.

  • Preview: Working with PDF Forms

    Hi all,
    We had a faculty member (using a mac and preview) edit one of our PDF form docs (created using Acrobat Professional 8). The problem we have noticed is if the user fills out each field using Preview, then saves the document (PDF again) and sends to us her data has disappeared when we open it in Adobe Reader or Professional. the funny thing is...if you click in (for example) field 1 the data shows. But, as soon as you remove focus from that field it disappears again.
    So, in testing this. If you open the document back in Preview the data is there. Again, this only happens if the form is filled out using Preview. Any ideas - I've seen this problem around the web, but no solutions.
    Thanks in advance!
    mz

    Hello -
    I don't know that there -is- a fix; it's a limitation of Preview, Acrobat Reader, etc. (With Reader, you'll actually get a warning message to the effect 'You won't be able to save a completed copy of this form on your computer ...')
    Your user can use the print dialog to save the completed form as a PDF, if that'll work in your application.
    Good luck.
    srb

  • Please suggest driver for microsoft lifecam studio for to work with live stream procaster

    I have microsoft life cam studio using to broadcast live through live stream procastrer. I am using mac mini with mac os lion 64bit.But default driver for this studio cam is not supporting to go live with proper crop and quality settings. Can anyone provide driver for this camera ?

    Hi, no idea really, but perhaps see if this could work for what you want...
    http://www.google.com/url?q=http://www.bensoftware.com/securityspy/&sa=U&ei=QUGH T4z4K4WciQL436yGAw&ved=0CBEQFjAA&usg=AFQjCNEC9fzmWGOiPtM0kRHyzfST3Kh5jQ

  • Preview no longer works with pdf documents

    I had downloaded Adobe Acrobat Reader to solve one problem. It didn't work and I didn't like it. I liked using Preview much more and so I uninstalled it. However, after I uninstalled it, Preview no longer works to open pdf documents on the Internet. Is there anything I can do. I don't really want Adobe's Reader back because in my opinion it is an inferior product. Is there anyway just to reinstall something so that Preview works as before?
    PowerBook G4   Mac OS X (10.4.6)  

    Hi, Stanley.
    I presume you're using Safari as your Web browser and that this question pertains solely to opening PDFs via links in Web pages you are viewing in Safari.
    If so:
    1. Quit (Command-Q) Safari if it is open.
    2. Open the Macintosh HD > Library > Internet Plug-Ins folder.
    3. If you find the file AdobePDFViewer.plugin therein, Trash it, then empty the Trash. If prompted to authenticate, provide your Admin password.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Change in behavior when working with PDF files in illustrator CC and CC2014. HELP IS NEEDED!

    Make a new CC file. Save in CC as pdf. Open same pdf file in CC 2014, make a change to file. Save file. Open same file in CC again. Now a dialogbox is displayed. This file is made in a newer version of illustrator!. This new behavior is totally stopping our entire production! What to do? NEED HELP ASAP
    Cheers
    Jesper G

    How can i downsave pdf file in CC 2014?
    This is very unfortune, because we use some VB script together with illustrator. That process is stopping now because of this message!!!
    Dont know how i can solve this issue!

Maybe you are looking for

  • Not able to select/display dependents data in IT0167

    Hi, We would like to use the dependents tab in IT0167 to display the dependents data from IT0021. I have configured the max/min number of dependents in IMG as well as the below. However, there is still no dependents displayed for selection in the IT0

  • Profit centre determination

    Hi, I am having a problem posting treasury deals to balance sheet accounts. All configuration in treasury is fine but posting returns the error "Field profit centre required for account xxxx xxxxxx". I have assigned a profit centre to these accounts

  • Function Module to Explode BOM

    Hi, I need a function module to explode a BOM. The input for the funcion module is the material number and when I Execute, it should explode the BOM. I found a couple of function modules, but my problem is I dont have a Sales Order Number, which is a

  • Starting a service automatically from a validation script

    Is it possible to start off a service from a javascript running on the page or as part of form validation ? When the user is filling out a form, based on the form field validation script I want to be able to invoke a new service. The javascript could

  • Unable to open page from buttons within firefox IE whereasothers explorers can

    In the firefox opened page when button for opening new sight within the page is clicked there is no effect and the page does not open wheras in inetrnet explorer same page can be opened please advice. For example in fire fox opened page when submitti