Save/Display Multimedia Files

Hi all,
someone know's if exists a paper, that explaines how I can store/display/download Multimediafiles and(.jpg,.wav,.mpeg,.wmv etc.) Documentfiles (.doc,.xls,.pdf) in a Oracle DB.
I'm using Jdeveloper 9.0.5 with Struts/JSP/ADF
thx

Check the intermedia Java APIs here:
http://otn.oracle.com/software/products/intermedia/htdocs/descriptions/servlets_jsp.html

Similar Messages

  • How to block displaying message "Save changes to file 'Test1' " in BEx?

    Hello, dear colleagues!
    Do You know how to block displaying message "Save changes to file 'Test1' " in BEx?
    I need some BEx setting which can block it and make it the same way as You close common Excel workbook without any changes made to it after opening e.g. without any messages, just clicking the cross. 
    Thank You all very much in advance!
    Val
    Edited by: vtb777 on Nov 21, 2011 1:46 PM
    Edited by: vtb777 on Nov 21, 2011 1:50 PM
    Edited by: vtb777 on Nov 21, 2011 1:52 PM

    from time to time i am working with macroses, but they are not good for the report's reliability.
    maybe You have some example of such macros?
    UPDATE:
    I have tried to edit event, called WorkbookBeforeClose in module BExEventHandler, adding there such a line:
    Application.DisplayAlerts = False
    but no result. maybe there are some other ways of solving this problem?
    Edited by: vtb777 on Nov 22, 2011 6:26 AM
    UPDATE-2:
    I got such a code, but it doesn't work:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    If MsgBox("Save changes to file? " & Name, vbYesNo, "") = vbNo Then
       Cancel = True
    End If
    End Sub
    Edited by: vtb777 on Nov 22, 2011 11:07 AM
    Edited by: vtb777 on Nov 22, 2011 11:16 AM
    Edited by: vtb777 on Nov 22, 2011 11:20 AM

  • Not enought space to save multimedia files before upgrading ios5

    itunes try to save multimedia files before upgrading to ios5 on c:\ but there is not enough space
    my itunes library is on K:\ with a lot of space
    how to change the location of backup saving

    Me, too.

  • How can I make a droplet save a modified file next to the original file?

    I am having a problem getting a Photoshop Droplet save a modified file next to the original file. That is, when I drag a file "page_6.pdf" from some directory onto my droplet, I want it to do its work and save a modified "page_6.psd" in that same directory.
    This isn't working for me on Photoshop CC 2014 on Mac OS 10.10.
    I have an Action which has an Open command, with the filename "page_1.pdf". Then it has a bunch of editing commands. Then it has a "Save As... Photoshop format" command, and a Close command. When I run this action within Photoshop, it brings up Open and Save As dialogues, and works fine.
    In creating the droplet, I used File... Automate... Create Droplet..., and selected the following options:
    Override Action "Open" commands
    Destination menu value = Folder
    Using Choose... button, select an output folder, Directory_1/ .
    Check Override Action "Save As Commands" is checked
    For File Naming, I use [Document Name] + "_deleteme" + [extension]
    When I drag a folder, say "page_5.pdf" from some directory onto the droplet, Photoshop runs the Action on the document. However, it saves the modified document in Directory_1/, regardless of where the original file came from. And it always names the modified document "page_1_deleteme.psd", instead of using the Document Name of the original file.
    If I modify the Open command in the Action to mention a different file, then the droplet always names the modified document with that name. It's as if Document Name in the File Naming dialogue always reflects what's in the Open command in the Action.  But -- I asked the droplet to Override Action "Open" commands!
    When I set the Destination menu value to "Save and Close", then when I drag a file onto the droplet, the droplet opens a File Save dialogue and forces me to tell it where to store the file.  I don't understand this behaviour, and have a hard time reconciling it with the documentation at Photoshop Help | Processing a batch of files .
    (Interestingly, when Destination menu value = None or Save and Close, Photoshop displays an alert about overwriting an existing droplet when I click OK to save. But when Destination menu value = Folder, there is no alert about overwriting existing droplet.)
    How can I set up a droplet so that it writes the modified file in the same directory as the original file, and with the same root filename, but a different extension to reflect the different output file format?
    Has anyone else made a droplet behave this way on Photoshop CC 2014 on Mac OS X 10.10?
    Thanks in advance for your help.

    Thanks for your insights.
    Does my Action need to include an Open command?  I sure thought so, because of how the Photoshop Help | Processing a batch of files documentation describes 'Override Action “Open” Commands'.
    "...If the action contains an Open command that opens a saved file and you don't select this option, the Batch command opens and processes only the file you used to record the Open command..." I don't want to operate only the file I used to record the Open command. However, this sentence doesn't say that an Open command should be part of a droplet Action.
    "...Deselect this option if the action was recorded to operate on an open file..."  Maybe I if I rethink my Action as operating on an open file, then the Droplet will take care of the Open for me.  However, I have less control over the options the droplet's Open command uses.
    I'll try disabling the Open command, and create a Droplet with that.

  • How to display pdf file with java code?

    Hi All,
    i have a jsp pagein that page if i click one icon then my backing bean method will call and that method will create pdf document and write some the content in that file and now i want to display that generated pdf document.
    it should look like you have pressed one icon and it displayed pdf file to you to view.
    java code below:
    FacesContext fc = FacesContext.getCurrentInstance();
    ExternalContext ec = fc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "filename=\"" + temppdfFile);
    resp.encodeRedirectURL(temppdfFile.getAbsolutePath());
    resp.setContentType("application/pdf");
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(temppdfFile, out);
    out.flush();
    and above temppdfFile is my generated pdf file.
    when i am executing this code, it was opening dialog box for save and cancel for the file, but the name of the file it was showing me the "jsp file name" with no file extention (in wich jsp file i am calling my backing bean method) and type is "Unknown File type" and from is "local host"
    it was not showing me open option so i am saving that file then that file saved as a pdffile with tha name of my jsp file and there is nothing in that file(i.e. empty file).
    what is the solution for this. there is any wrong in my code.
    Please suggest me.
    Thanks in advance
    Indira

    public Object buildBarCodes() throws Exception
    File bulkBarcodes = null;
    String tempPDFFile = this.makeTempDir();
    File tempDir = new File("BulkPDF_Files_Print");
    if(!tempDir.exists())
    tempDir.mkdir();
    bulkBarcodes = File.createTempFile
    (tempPDFFile, ".pdf", tempDir);
    //bulkBarcodes = new File(tempDir, tempPDFFile+"BulkBarcode"+"."+"pdf");
    if(!bulkBarcodes.exists())
    bulkBarcodes.createNewFile();
    Document document = new Document();
    FileOutputStream combinedOutput = new FileOutputStream(bulkBarcodes);
    PdfWriter.getInstance(document, combinedOutput);
    document.open();
    document.add(new Paragraph("\n"));
    document.add(new Paragraph("\n"));
    Image image = Image.getInstance(bc.generateBarcodeBytes(bc.getBarcode()));
    document.add(image);
    combinedOutput.flush();
    document.close();
    combinedOutput.close();
    FacesContext facesc = FacesContext.getCurrentInstance();
    ExternalContext ec = facesc.getExternalContext();
    HttpServletResponse resp = (HttpServletResponse) ec.getResponse();
    resp.setHeader("Content-Disposition", "inline: BulkBarcodes.pdf");
    resp.encodeRedirectURL(bulkBarcodes.getAbsolutePath());
    resp.setContentType("application/pdf");
    resp.setBufferSize(10000000);
    ServletOutputStream out = resp.getOutputStream();
    ServletUtils.returnFile(bulkBarcodes, out);
    out.flush();
    return "success";
    This is my action method which will call when ever i press a button in my jsp page.
    This method will create the barcode for the given barcode number and write that barcode image in pdf file
    (i saw that pdf file which i have created through my above method, This PDF file opening when i was opening manually and the data init that is also correct means successfully it writes the mage of that barcode)
    This method taking the jsp file to open because as earlier i said it was trying to open unknown file type document and i saved that file and opended with editplus and that was the jsp file in which file i am calling my action method I mean to say it was not taking the pdf file which i have created above it was taking the jsp file

  • How to display Doc file format in the JEditPane?

    At this time , JEditPane supports RTF and HTML file format ,but
    Could anyone tell me how to display DOC file format using JEditPane
    or other JTextComponents?
    Thx a lot!
    Caton

    Hi,
    there is no support for doc files (M$ Word?) in Java. You would have to create your own classes for that eventually subclassing JEditorPane, EditorKit, Document etc. As well you'd need your own reader for the doc format.
    The problem I see with that however is that there is nothing such as thedoc file format. Microsoft just saves anything produced by MS Word into files ending with .doc. But, if there is anything such as a .doc file format, it changes more often than the weather in April.
    Ulrich

  • IE 7 not displaying PDF files

    WinXP SP3 desktop
    Installed: Acrobat Reader 9 and Acrobat 6.0 Professional
    Up until recently, when an update from MS and adobe were installed, Internet Explorer 7 has been displaying PDF files when clicking on a link to the document. I do not know which company is at fault for compatibility here, but I would prefer to have IE7 read/save PDF docs. As it is now, an window pops up (no error number) saying "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a Web Browser. Adobe Acrobat/Reader version 8 or 9 is required. Please exit and try again." I click the OK button then Acrobat 6.0 Pro loads and with no document showing. Simply turns on. I open any PDF file manually using either Reader 9 or Pro 6, but IE7 will only come up with above msg.
    Corrective actions attempted were:
    1) Reinstall Reader 9 on top of itself.
    2) In Pro 6, Edit | Preferences | Internet and deselected "Display PDF in browser, restarted program, went back to re-select it, restarted program.
    I did notice a new process running named: wisptis.exe
    The error message above sounds more like to me that the Pro is assigned the job to read downloaded PDF files, but with the Web Browser Option set to "Display PDF in browswer", I do not know why IE7 is not reading them.
    Thank you for your help in advance.
    Kay

    Try troubleshooting the Safari .plist file.
    Quit Safari.
    Open a Finder window. Select your Home Folder in the Sidebar on the left. It has a small house icon. Then open the Library folder then the Preferences folder.
    Move the com.apple.Safari.plist file from the Preferences folder to the Desktop.
    Launch Safari. See if that made a difference.
    Also, check Safari / Preferences - Extensions. Make sure it's not an Extension preventing PDF's from rendering.

  • QuickView, Preview.. etc. Can't Display PSD files

    I've been having this problem for some time now - as far back as can remember with OS X.
    When I try to view a psd file, (prior to Lep) in Preview or Xee, all I get is the transparent Alpha Channel - ie usually a solid blank neutral gray or checker board white and gray.  And as of Leopard (and Snow Leo), this situation now includes Quickview.  I get no actual image, or sometimes part of an image displayed, but never the full image that is displayed in PS or PSE.
    The ONLY exceptions to this problem I have found is an ancient app called ACDSee v1.6.9 (2001) and Quicktime Player.  Both display psd files perfectly.
    The preferences to save Image Previews: Always Save, Icon, Full Size, Mac Thumbnail, Windows Thumbnail.
    Am I saving psd files wrong somehow so that the default system apps can not display psd files properly?
    BTW - this problem is completely consistent on EVERY system I have tried it on regardless of the OS X version (Tiger, Leo, Snow Leo) and Photoshop version (PSE 2, 4, 5, 6; PS 7, CS1, CS2).
    Any help or suggestions would be greatly appreciated.  This is a very irritating problem..
    TIA

    This isn't an issue or something you are doing incorrectly, PSD is an Adobe format that is not widely supported.  You need to open it within your Adobe application, such as Photoshop.

  • Error in clicking save to local file button in alv grid?

    Hi
    I am getting error , While clicking on some buttons like save as local file button in alv grid display
    How to rectify it
    Thanks in advance

    In your REUSE_ALV_GRID_DISPLAY 
    EXPORTING
          I_SAVE                  = 'U'
    put this field....and then check it will definitely work...

  • Display uploaded file on JSP page

    Hi All,
    I want to display uploaded file in JSP.
    Initially I am displaying File Name after saving the file & click on edit link.
    i.e on JSP Page I have File Upload component & save button.With that save button I am saving my file to databse.
    So when I click on edit link I am getting that file name from Databse then I am displaying it.
    But now I want to display uploaded file name on JSP page before saving to databse.i.e I will have browse & Upload button.When I click on browse button I will open window from where I will select file.
    This is working fine as,<x:inputFileUpload id="uploadfile" value="#{errorLotBean.file}" storage="file"></x:inputFileUpload>
    But when I click on upload button that uploaded file should be displyed there only.Can anyone please tell me how to do this ?
    Thanks
    Sandip

    Thanks a lot Siefert,
    I tried the way mentioned in URL.
    But what if I want to display all uploaded file on my screen.
    i.e. If user click on browse & select File A then click on upload button.
    (Here the File A will be displayed) with code
    <h:outputtext value="#{benaName.file.name}"
    But what if after displaying File A if user decide to upload another file File B.
    How to display that ?
    with <h:outputtext value="#{benaName.file.name}" its dispalying one file only.
    Thanks
    Sandip

  • How to save as .ai file to .eps format ??

    Hi all,
    Could anyone help me out on the below problem.
    I need to write a script which will save a .ai file to .eps file format and store in  to a fixed location. (Ex \\10.99.0.60\epsfile\)..
    This action should happen on executing the script.
            Here we don’t need to enter the file name .It will be saved to the same file name. We just have to change the extension of the file and store it to a fixed location.        Ex: when the current file name is ‘test.ai’ the output file name will be ‘test.eps’
    Please help me on the abhove issue.
    thanks and Regards,
    sanat

    Try this. Cut and paste into the AppleScript Script Editor Application. Save as whatever name in HD>Applications>Adobe Illustrator CS4>Presets>Scripts folder and restart.
    This will open all files of the fileTypes in a folder and resave them as AICS4 files with compression and PDF compatibility. It will do a folder only not a Directory. You'll have to put in your own error handling for bad fonts. It makes all files CMYK and updates legacy text.
    -- BEGIN CODE
    set fileTypes to {"EPSF", "PDF ", "ART5", "TEXT"} -- file types available to resave as Illustrator
    -- get a sourceFolder that holds the files to resave as AI
    set sourceFolder to (choose folder with prompt "Choose a folder with files to resave as Illustrator:") as text
    -- get a list of files of the defined type in the sourceFolder
    tell application "Finder" to set workingFiles to (every file of folder sourceFolder whose file type is in fileTypes) as alias list
    -- now you have your fileList argument
    -- get a destinationFolder to hold the PDFs
    set destinationFolder to choose folder with prompt "Choose a folder to hold the Illustrator files:"
    SaveFilesAsIllustrator14(workingFiles, destinationFolder)
    on SaveFilesAsIllustrator14(fileList, destinationFolder)
        set destinationPath to destinationFolder as string
        repeat with aFile in fileList
            tell application "Finder"
                set fileName to displayed name of aFile -- get displayed name
                set AppleScript's text item delimiters to "."
                set newFileName to text item 1 of fileName
                set newFilePath to destinationPath & newFileName & ".ai"
            end tell
            tell application "Adobe Illustrator"
                open aFile forcing CMYK with options {update legacy text:true}
                save current document in file newFilePath as Illustrator with options {class:Illustrator save options, embed linked files:true, PDF compatible:true, font subset threshold:0.0}
                close current document saving no
            end tell
        end repeat
    end SaveFilesAsIllustrator14
    -- END CODE

  • RFBELJ00 save as local file?

    Hello everybody,
    our customer needs to run the report RFBELJ00 in a background job and wants to save the selected data in a local text file (because of certified accountant). Is there a possibility to do so? or maybe another report who delivers the same result and can save it in an local file instead of printing it?
    I tried to save the data in a pdf.-file. This is not exactly what the customer wants but it didn't work too.

    Hi,
    Yes you can do it.  Execute the report in the background.  Once the execution is complete.  Go into SM37 and execute.  Select the completed job and click on Spool button.  Select the spool and click on display button, the report output will be displayed.
    Now click from the menu follow either of the two paths:
    1.  Spool Request -> Forward -> Save to local file.
    2.  System -> List -> save -> Local file
    In the ensuing pop-up, select Unconverted and save it as a text file to your desktop.  You can also select spreadsheet and save as a csv text file.
    cheers.

  • Save as PDF file from WEB report

    Hi All,
    I want to save the Web report out put to PDF file in 3.5 Version.
    Can some body help me with any documents or HTML code?.
    Thanks.

    Hi,
    Can you please check below threads
    Convert a web report into pdf and print (in BW 3.5)
    Displaying PDF file in browser
    Thanks

  • Display a file with in the ADF screen in the edit mode.(RTF or Word format)

    Hi ,
    As per my business need i need to display a file (.doc or .pdf) in the ADF screen in the edit mode. Later user can be able to save the document . As of now i am using a separate editor for edit the document. but that editor is supporting only for html format only. so that some images which are there in those files are not displaying in the screen.so this is not the consistent solution for my requirement.
    So please help on this if any body had done this kind of object.
    Thanks,
    Rajesh
    Edited by: 927500 on Apr 18, 2012 7:31 AM

    Hi,
    ADF doesn't provide a component for PDF and Word editing.
    Frank

  • Can't save/write Framemaker files

    Hi,
    I've suddenly got a major problem - I can't Save or Save As any Framemaker files.
    Specifically, I am using Framemaker 9 (latest patches) under Win XP/SP3, using parallels Desktop for Mac on my MacBook Pro 17" (8GB, 2.8GHz Intel Core 2 Duo, Mac OS 10.6.2).
    I can save to my Windows virtual drive, but if I try to save to my Mac world, I get an error that says "The \\.psf\Home\<path>\<filename>.fm.DE1 that FrameMaker wrote may be damaged". There is a .lck file, but can't save the .fm file, even with another name.
    I have tried saving in different formats (to check it's not a network/permissions issue). I can save in .html, .txt, .xml, .pdf, .rtf. I cannot save in any of the Frame-related formats (MIF, .fm, previous versions).
    I suspect the problem arose after updating Parallels Desktop to the latest version. Dumb move. It barfed at the end of the upgrade, but I thought things were OK after restarting.
    I also had a disk problem on my Mac (various catalog file errors) after ejecting a recaltitrant USB pen drive. Major headache. Again, thought it was all fixed after fsck and Disk Utility checks. maybe not. Still a weird issue though. I do seem to remember having something like this before. Anyone got any ideas?
    Martin Ley
    martin at em-dash dot com

    EmDashMan wrote:
    Hi,
    I've suddenly got a major problem - I can't Save or Save As any Framemaker files.
    Specifically, I am using Framemaker 9 (latest patches) under Win XP/SP3, using parallels Desktop for Mac on my MacBook Pro 17" (8GB, 2.8GHz Intel Core 2 Duo, Mac OS 10.6.2).
    I can save to my Windows virtual drive, but if I try to save to my Mac world, I get an error that says "The \\.psf\Home\<path>\<filename>.fm.DE1 that FrameMaker wrote may be damaged". There is a .lck file, but can't save the .fm file, even with another name.
    I have tried saving in different formats (to check it's not a network/permissions issue). I can save in .html, .txt, .xml, .pdf, .rtf. I cannot save in any of the Frame-related formats (MIF, .fm, previous versions).
    I suspect the problem arose after updating Parallels Desktop to the latest version. Dumb move. It barfed at the end of the upgrade, but I thought things were OK after restarting.
    I also had a disk problem on my Mac (various catalog file errors) after ejecting a recaltitrant USB pen drive. Major headache. Again, thought it was all fixed after fsck and Disk Utility checks. maybe not. Still a weird issue though. I do seem to remember having something like this before. Anyone got any ideas?
    Martin Ley
    martin at em-dash dot com
    Hi, Martin:
    I'm using InDesign on my MacBookPro pre-unibody under Leopard, and also under Windows 7 Vista running on VMware Fusion2.
    I never save my files on the Windows virtual drive for a couple of reasons:
    * too likely to crash unexpectedly - hey, it's Windows.
    * because the virtual drive file is always marked changed no matter how little activity you do on it, even just opening it, Time Machine backs up the entire humongous drive file and fills up my Time Capsule needlessly.
    EDIT:
    * I exclude the virtual drive file from the Time Machine backup, but I do save a copy of it in case I need to replace one that goes bad. Doesn't always work, though. I also save a bunch of automatic snapshots of the virtual drive, and manual ones when I change something. I haven't got the habit yet of also making Windows Restore Points. I figure if a Fusion2 snapshot can't get me back working, it's time to start over, or copy my safety copy.
    /EDIT
    I always save files made on the Mac or Windows sides on my Mac file system.
    One likely source of being unable to save is unwanted and unexpected permission changes. Have you tried fixing permissions with Disk Utility, or the free utility OnyX, or the free utility applejack? You run OnyX from within OS X. You run applejack from the command line that appears when you restart the Mac and hold CMD-s to go into single user mode. The command: applejack auto restart performs a bunch of cleanup operations automatically, and displays its actions as it does them. When it's done, it restarts your Mac.
    Applejack is more limited in what it does, so it easier to avoid doing anything you didn't intend. OnyX offers options that can clean out stuff you might not want to, so read carefully what options you select.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

Maybe you are looking for