[ADF, JDev 12.1.3] Pop-up window to see the or download a PDF file that is returned by a Web service method

Hallo,

in a page of my web application, I need to add a button that when clicked shows a PDF in a pop-up window which enables the user to download on the PC.

To get the file PDF, the application must call a Web service method that returns the contents of the file encoded in base64 in the body of the response. If the request does not get the file, but a stream that must be dealt with to get the file.

Could you kindly advice me a good approach/tutorial to create this feature?

Thank you and best regards,

Federico

Call your servlet ws, then convert bytes of payload in base64 and returns this as a binary stream.

Client side, you can use af:inlineFrame component inside the af: popup to call your servlet.

Here is example of servlet/inlineFrame part: https://technology.amis.nl/2011/07/28/adf-11g-show-pdf-in-a-popup/

Dario

Tags: Java

Similar Questions

  • How to add a pop-up window to set the date and time in a field

    How to add a pop-up window to set the date and time in a field? I know how to add the date. I create the field time with JavaScript event initialize like this:

    this.rawValue = num2date(date(), DateFmt(4));
    

    What I should change the script and the motive to do it properly.

    I changed the Format of data (object > link tab) date time but nothing happen. I want to set up a pop-up window as for the setting of date but with addition of time setting.

    Is this possible? Or that the date fixed like that? Should I get hour hand?

    Hello

    I don't think you will get both in the calendar popup. Basically, the popup calendar is the default behavior. It may be possible to develop a custom component, but it would take a bit of scripting and would probably not be worth the effort.

    I'd get the user to time manually entry in a separate field.

    Good luck

    Niall

  • Receives the following message after opening a downloaded game: 'Windows cannot access the specified device, path or file. You can not have the appropriate permissions to access the item.

    Hello!
    So I'm at the end of my rope with this one... it lasts for months, and I keep revisitng every two weeks to try and fix that and every time to be completely frustrated.  I found this forum tonight, so here goes...

    We downloaded a few games on the HP Games Web site.  We download them and everything works fine.  Then, we will open the games and this pop up error message:
    "Windows cannot access the specified device, path or file.  You can not have the appropriate permissions to access the item.

    These games used to run fine, and I have no idea why they now have problems.  We have a Vista operating system, 1 account who is the administrator, the Parental control is disabled (or if we believe).

    If anyone can please help it would be much appreciated!  We have a monthly membership to this site of game and continue to accumulate credits, but may not use it.  It makes us crazy!

    Thank you in advance!

    Hello Heathie,

    Thank you for posting.  It seems that the program is no longer on your computer.  This can happen if the game files are deleted, but the game itself has not been uninstalled correctly.  I recommend you to download the game again to a location on your computer where you can easily find and install it.  This should fix the problem.

    Please let me know if this helps you.
    Zack
    Engineer Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • "Windows cannot access the specified device, path or file" for each X 86 application on a Windows 2003 x 64 server

    Hello

    I have a Windows 2003 X 64 server and since a week ago everything works fine.

    For a week or two when I try to run an X 86 application, I always get this error:
    "Windows cannot access the specified device, path or file.
    If I run a x 64 apps everything works fine.
    What made a mistake?
    Thank you

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on TechNet. Please post your question in the TechNet forums. You can follow the link to your question:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • I get all the time can not download anything 'Windows cannot access the specified device, path or file. You can't have the permissions to access the have__appropriate element. »

    Original title: problems cannot do anything

    Windows cannot access the specified device, path or file. You can't have__appropriate the permissions to access the item. I get it all the time can not download anything

    Hi birdylod,

    ·         What version of the operating system is installed on the computer?

    ·         You did changes to the computer before the show?

    ·         You use Internet Explorer? If so, what version are you using?

    ·         What files you download?

    Follow these methods.

    Method 1: Performs a search using the Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode with network and check if the problem persists.

    Startup options (including safe mode)

    http://Windows.Microsoft.com/en-us/Windows7/advanced-startup-options-including-safe-mode

    Step 2: If the problem does not persist in safe mode with networking, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the link step 7 to return the computer to a Normal startupmode.

    Method 3: Scan the file system (CFS) auditor to repair corrupted files.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    For reference:

    What to know before applying permissions to a file or folder

  • Code 80070241 in Windows update and "Windows cannot verify the digital signature for this file" when you try to run any program.

    Windows Update has appeared today when we started one of our machines, informing us that there are some installed updates. After reviewing the updates, we clicked on the "Install now" button, and immediately, it failed with the above error code.

    I tried to run regedit a reason unrelated, and it came with a dialog box error with "Windows cannot verify the digital signature for this file. A recent hardware or software change might be installed a file that is signed incorrectly or damaged or maybe it's a malicious software from an unknown source. »

    After researching here and elsewhere on google and did not find anything suitable, put us in the Win7 disk, recovery tools and tried to go back to a previous system restore point (3 days).

    The restoration went well, restarted, but the problem persists.

    Then, we just tried to install anti-malware software, but when trying to run the installer, we get a different error message indicating 'ShellExecuteEx failed; Code 577 "and then the same message on the verification of the digital signature.

    The computer is running fine all yesterday and has worked very well since just after the new year when he has been upgraded to Windows 7. No material changes have been made, and no software changes were made by users in the course of last week.

    The computer is an AMD Athlon II X 4 with 4 GB of RAM on a motherboard Asus M4A78-EM, linking a 64 GB SSD, with a 250 GB drive SATA data/programs. GPU is a Nvidia 260, and it has a CD and DVD player as well. It is connected to our router using the gigabit ethernet interface motherboards.

    It was under windows 32 - bit XP SP3 up just after the new year. When we put in place the new SSD to replace a hard drive older than we have did a new install of XP (slipstreamed with SP3) and then used the upgrade 32-bit W7 Home premium DVD version to upgrade the system. Since then, the system runs flawlessley.

    On the machine is MS office XP, Firefox 3.6.3, AVG 8.5 and a few games such as the Turbine DDO.

    The main user account used to try to solve these problems and to run Windows Update and try installing programs is a member of the Administrators group.

    Firefox works fine, serve, and he plays the games installed very well also. AVG reports to date, with no problems and has detected no threat.

    However, try to view the registry with regedit, or start Viewer event or compmgmt.msc that all do appear the message "cannot verify the digital signature.

    ***************************************************

    Can anyone offer an opinion on what might be wrong with this facility please, and how we could do to solve?

    Cannot run chkdsk/scandisk as he bought the message "cannot verify the digital signature" etc etc.

    This morning, the machine began to behave differently - stop playing back badly, refused to start Device Manager, open Control Panel correctly etc.

    So, I reset the BIOS to boot from the CD-ROM, slapped XP SP3 in reinstalled, then upgraded to Win 7 again.

    Still have no idea what caused the problem, but it seems to be gone now - reinstalled the same applications, AV / programs anti-malware, games, etc and everything seems to go fine now.

    * shrug *.

    Computers.

  • Error: "Windows cannot access the specified device, path or file. May not permissions to access you the item"while trying to open the batch file.

    Original title: HELP! Cannot scroll open batch files and computer Frezes Mid
     
    Whenever I click on a .bat file, you'll see this message:
    "Windows cannot access the specified device, path or file.
    You can not have the appropriate permissions to access the item.
    I am the administrator of the computer and I use a Windows XP.
    And half the time when I scroll, it Frezes the window!
    This computer that I'm talking about is not connected to the Internet so I cannot use a "fix site.
    I already Ran my Virus Scanner, I have no viruses.
    Help, please!
    -The JavaScripter

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the technet Windows XP forums.

    http://social.technet.Microsoft.com/forums/en/category/windowsxpitpro

  • System error message -"windows cannot access the specified device path or file. You don't have permission to access it.

    Hello

    Can help you. Had problem with safety messages and now I can't open any programs, get message "windows cannot access the specified device path or file. you don't have permission to access"how to restore the system to clear the message

    No sound as I wrote it. But I've sorted it by running Paretologic Data Recovery

    Thanks for your response

  • message error "windows cannot access the specified device path or file.

    After updating all upgrades of Windows and restarting my computer, I get the error message "windows cannot access the specified device path or file" on all my programs. I tried to go to the 'system restore', but it won't let me access that is. I am running Windows XP on a Dell Vostro 400

    Tried to start the restoration of the system from the Windows Advanced Options menu and he tried to restore from the last successful boot - unfortunately the last successful upward included the problem start

    Restarted in safe mode and not run Chkdsk/r - no found error - problem persists.

    Finally found my Dell operating system disk and went into the Boot Menu at startup screen and set it to Boot from the Dell operating system CD

    After the CD started, I went to reinstall Windows, and he gave me an option for repair

    The relocation process took about 30 minutes to complete, but he reinstalled all missing or damaged files that were the cause of the problem

    Fixed a problem!

    Thanks Mike - You're on the right track!

  • "Windows cannot access the specified device, path or file."

    Original title: Windows cannot access the specified device, path or file.  You don't have the appropriate permit im PLEAAASEE HELP ME a single mother with no money to get my computer fixed

    Windows cannot access the specified device, path or file.  You can not have the appropriate permissions to access the item. It doesn't let me do user accounts or anything each time I click on user accounts even mozilla no matter what icon as yahoo messanger or anything I get this message PLEAAASEE HELP ME im a single mother with no money to get my computer fixed and my computer is my life line!  someone help me please!

    Hello

    Take a look at the following for a possible solution:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-files/Windows-cannot-access-the-specified-device-path-or/d85689f5-8a1d-4519-A016-f485877dd40e

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/Windows-cannot-access-the-specified-device-path-or/85edca63-e1fd-426b-ad23-3ea506ab8a44

  • Windows cannot access the specified device path or file. may not permissions to access you the item.

    Hey guys,.

    I am running Vista on my laptop Toshiba P200D. Recently I was making an error whenever I try to open the files that I downloaded from the internet. The message I get is "windows cannot access the specified device path or file. you don't have the appropriate permissions to access the item "."

    I tried,

    • Safe mode (not to fix)
    • (No luck) system restore
    • check security options - I have full access to the file.

    I am running Vista 32 bit. I have avast antivirus running, but is not working and im unable to uninstall it.

    Any help will be accepted with gratitude,

    Thanks in advance,

    Chris.

    PS I'm the system administrator.

    I do not fashion without failure, I advised a SafeMode with networking for network access using a wired connection to download and install Anti-Malware programs.

    If this does not work:

    Download/save the removal of Avast on a friend's computer tool > transfer it using a Flash Player > uninstall the corrupt Avast.

    Which can be the source of the problem.

    As you can not turn it off:

    If under warranty, contact the manufacturer of your laptop.

    If this is not the case, take it to a reputable repair shop, computer room.

    Mick Murphy - Microsoft partner

  • (0x80070005) error on my dell Telechareger (studio xps 435mt) windows vista Home premium. Windows cannot access the specified device, path or file. I can't have the appropriate authorization to access

    Don't leave me in what in folders and files (c). IM locked it says that I may have not permission to 20 c to access. Thank you

    Hello

    Were there any changes made on the computer before the show?

    Method 1:

    Check the link and see if it helps:

    Error "Windows cannot access the specified device, path or file" when you try to install, update or launch a program or file

    http://support.Microsoft.com/kb/2669244

    The article also applies to the Windows Vista operating system.

    Note: run the computer without antivirus software or firewall is a potential threat to the computer; Be sure to activate security software after completing the troubleshooting steps and after identifying the problem.

    Method 2:

    Check out the links and check if that helps:

    What are the permissions?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-permissions

    What to know before applying permissions to a file or folder

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-to-know-before-applying-permissions-to-a-file-or-folder

  • Windows cannot access the specified device, path or file. You can not have the appropriate permissions to access the item.

    Hello

    I recently changed to use AVG free Antivirus Vista 2010 edition and since then (next day) seems to be locked out almost everything on the computer other then IE.  Open any kind of .exe translates into "Windows cannot access the specified device, path or file. You don't have the appropriate permissions to access the item. "I can access the Control Panel, but when I try to run something (a user restore Sys account) nothing happens or I get the same error.  I can not even access/cmd?

    Operating system is vista 64 bit home premium
    Computer has 1 which is defined as administrator SP1
    Tried to do a restore of the system in normal mode and safe, the two will not start.

    I have a feeling I know what the problem is, that when you look at the properties > Security "Progam files" in the 5 groupnames user administrator has not enabled in the lower area of permissions?  Guess a virus has locked all accounts to use the machine key files? (When editing and allowing the admin to have full control etc. in written authorization, I get an "access denied" Message.)  Be honest this really problems out of my PC knowledge, I would usually just reformat if I hit I can't solve a problem, but this time reformating is not the best option.

    Thanks in advance for any help, I would really appreciate it, it left me speechless!

    PS. read through the similar questions and have used the "fix windows' programs, with nothing working or me being not able to access something used.

    Hi Dany88,

    First of all, I would say that you uninstall security antivirus vista 2010 of computer software, since there are several questions on the computer after installing. This software may have created conflicts between other programs on the computer.

    As you face problems to access items from 'Control panel', I would say you visit the security software vendor's Web site and search a tool of suppression using which you can uninstall the software.

    Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    If questions are set after uninstalling security software, I suggest that you change the security antivirus vista to some else software or contact the vendor of the software for more information.

    I would also say that you are investigating the computer by using the methods mentioned in the link below.
     
    How to get rid of malware or viruses
    http://social.answers.Microsoft.com/forums/en-us/vistasecurity/thread/ba80504b-61f1-4D71-960f-b561798b7b42

    See the link below to find out how to start in safe mode.
    Start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • 0xc0000428 error - "Windows cannot verify the digital signature for this file."

    Original title: 0xc0000428 error

    I'm using Windows Vista and I already had the problem, "the Windows Boot Configuration data file is missing required information" which I have rebuilt the bcd for. Now it won't let me not restart due to the error 0xc0000428, stating "Windows cannot verify the digital signature for this file. How to do this?

    Hi Rajisace,

    ·         How long have you been faced with this problem?

    ·         You did it last changes before the show?

    ·         Please provide us with the file information in the error message.

    Method 1: Try to start the computer using the last good known Configuration and check if you can successfully start.

    Using the last good known Configuration

    http://Windows.Microsoft.com/en-us/Windows-Vista/using-last-known-good-configuration

    Method 2: I will suggest you to do material clean boot and check to see if you encounter the same problem.

    1. right click on my computer-> properties

    2 Hardware tab Device Manager->

    3. right click on the sound card, video card and NIC, one by one, then click on turn off

    4 restart the computer.  If the problem is resolved, you can then enable the devices one by one to find the exact mechanism causing the problem

    After you find the device that is causing the problem you can solve by installing the latest driver or replacement of the unit.

    I will also propose you to check if the boot priority is set on hard drive and check if you experience the same problem.

    Method 3: Check a drive for errors

    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors

    Important:  If all available hard disk data can be lost when running chkdsk, as the chkdsk attempts to repair the affected area.

    Hope this information is useful.

  • Windows cannot access the specified device, path or file. May not permissions to access you the item. Can someone tell me how to overcome this problem.

    Windows cannot access the specified device, path or file. May not permissions to access you the item. This message appears when I try to access also anti programs anti-virus will not play CD in windows media player. Can someone give me advice on what to do to remedy the problem.

    Hi Lee,.

    • You did any computer change?
    • What anti-virus program is installed on the machine?
    • What is the full and an error code error message when you access the CD through Windows Media Player?

    Follow the steps mentioned below:

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Note: try to access Cd rom drive and antivrirus program and see that you get an error

    Perform a clean boot according to the link below:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Follow step 7 in order to his usual manner once completed troubleshooting computer

    The analysis of Microsoft Security Essentials online according to the LienSuivant:

    http://OneCare.live.com/site/en-us/default.htm

    Reply back with the results

Maybe you are looking for

  • I want my ICS

    OK bike. The project plan provided for a deployment early third quarter. We are now in the middle of August. If I've done this kind of thing in my work, I want to be reprimanded. There is a reason that people are deserting a ship for Samsung phones a

  • HP 6500 display as disconnected in the HP Solution Center

    I use a HP Pavilion with Windows 7. The printer has been installed successfully but sometimes would go offline. I found the fact of disconnecting and reconnecting it would work. Recently, the HPSC shows the printer as "offline". I tried to unplug, re

  • NVIDIA nForce Networking Controller issues

    I have a hand built system running Windows XP sp3. It does not recognize one of the pilots who strives to update and suggested I have uninstall and then try to re - install. In doing so, he made sure I can't access the internet. After having diagnose

  • How can I add a font to monospaced?

    Hello, I'm looking to find out how add a font... I need a monospace font, but I read that there is no police minivan in BB. It's true?, can anyone provide me with some way to achieve this? Edit: I found this example http://docs.blackberry.com/en/deve

  • What kind of PDU like people for the UCS?

    I intend to deploy a UCS in the next month.  It seems that every UCS chassis requires four containers of L6 - 20. And we get two chassis.  While I was trying to get a couple of Pulizzi as ounces below.  Anyone prefers another type for better manageme