How to upload a image or flash file as blob object in a table.

How to upload a image or flash file as blob object in a table.
What are all the possible ways we can do it.

Searching the forum (or google) would be my first choice, as this question pops up every now and then.
Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
All I can say is that it's possible.
Timo

Similar Messages

  • How to upload an image to EBS file server (Not store in database) with OAF?

    Dear all,
    I can upload an image into database with blob type. But I want to know how to upload an image to EBS file server. I try to search the forum but I cannot find the solution I want.
    Anybody can reallize it? Please give me some advice or idea?
    Thanks.
    Kenny

    Kenny,
    Framework doesn't provide the option of storing the images as files. You can write a javascript to open a popup and provide a standard HTML file upload component which will save the file on specified location.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to upload a image file ....

    Hi
    Need some tips ....
    How to upload a image file?
    How to limit the size of the file?
    if the image is big in size means how to make it small ?
    Is it possible of compressing the file before storing ..?
    thanks in advance
    kumar

    You may find the following articles useful for the JSP/Servlet part:
    Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
    Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html

  • How to upload an image in jsp page

    hi,
    I want to upload an image file with my jsp page, but i cannot do it,
    I have used Jakarta common file upload for this & i have also read following file. But my code isnot working properly? Can you give me any example how to upload an image & how to display it?
    Can u give me any source code? Please help me.
    http://jakarta.apache.org/commons/fileupload/using.htmlwith regards
    Bina

    Hi,
    But after writing the following code i have got following error? What's the problem of this code? please help me?
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    <%@ page import="org.apache.commons.fileupload.*" %>
    <%@ page import ="java.util.*" %>
    <%@ page import ="java.io.*" %>
    </head>
    <body>
    <%
    boolean isMultipart = FileUpload.isMultipartContent(request);
    DiskFileUpload upload = new DiskFileUpload();
    List items = upload.parseRequest(request);
    Iterator iter = items.iterator();
    while (iter.hasNext()) {
    FileItem item = (FileItem) iter.next();
    if (item.isFormField()) {
    String name = item.getFieldName();
    String value = item.getString();
    //ring name= request.getParameter("")
    %>
    <%= name %>:<%= value %>
    <%
    } else {
    %>
    <%
    InputStream stream = item.getInputStream();
    OutputStream bos =
         new FileOutputStream(getServletContext().getRealPath("/images"+"/"+ item.getName()));
    int bytesRead = 0;
    byte[] buffer = new byte[8192];
    while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
    bos.write(buffer, 0, bytesRead);
    bos.close();
    stream.close();
    item.delete();
    %>
    </body>
    </html>Error is:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileUpload cannot be resolved
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    DiskFileUpload cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    DiskFileUpload cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileItem cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileItem cannot be resolved to a type
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileUpload cannot be resolved
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    DiskFileUpload cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    DiskFileUpload cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileItem cannot be resolved to a type
    An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
    Generated servlet error:
    FileItem cannot be resolved to a type
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
    With regards
    Bina

  • How to Upload Mutilple Images in content repository?

    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd be displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

    Suresh, your html specifies an image at resources/images/privacy.gif - is that
    image in your repository at the correct relative position to where yout html is?
    Your html and repository structure must match. So if the html you posted is at
    /BEA Repository/foo.html
    then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
    James
    "Suresh" <[email protected]> wrote:
    >
    >
    >
    Hi James
    Here i have attached my sample html and image
    My Repository Structure is as follows :
    Virtual Content Repository
    BEA Repository
    MainImage type image
    Privacy type i created
    ----StartDate
    ----EndDate
    ----File Upload
    My HTML
    <HTML>
    <HEAD>
    <TITLE> New Document </title>
    <META NAME="Generator" CONTENT="EditPlus">
    <META NAME="Author" CONTENT="">
    <META NAME="Keywords" CONTENT="">
    <META NAME="Description" CONTENT="">
    </head>
    <BODY>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="norBold"><img src="resources/images/privacy.gif"
    width="123"
    height="73">Privacy
    Policy</td>
    </tr>
    <tr>
    <td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
    </tr>
    </body>
    </html>
    and
    one image
    Thanks in Adv
    Suresh
    "James Owen" <reply.to@newsgroup> wrote:
    Suresh, how is your content structured and what does your html looklike?
    If you
    could post examples, that would be helpful.
    thanks,
    James
    "suresh" <[email protected]> wrote:
    Hi
    How to Upload Mutilple Images in content repository?
    I have a html which shd be displayed and it has 3 images which shd
    be
    displayed
    in the same page
    Here i am able to display the HTML uploaded in content repository
    but the images are not displayed,since the path is not valid for the
    images.
    Can any one hint me in this,
    wating for the reply
    Thanks in Adv
    Regards
    Suresh

  • Can any one tell me how to stream the images in flash.

    Hello Friends,
    i have created a dynamic page flip book with xml, i want to
    zoom the images in swf loaded, with streaming, so that user can
    preview the image while a good quality image is loading. I wanna
    know that how to load a part of large image or swf.
    Image effect like :-
    http://www.zoomify.com/
    Can any one tell me how to stream the images in flash.

    On Thu, 17 Apr 2008 05:53:27 +0000 (UTC), "FlashDavil"
    <[email protected]> wrote:
    >I wanna know that how to load a
    >part of large image or swf.
    You show a preview and use loadMovie() to load a big file.
    You can
    create a preloader (progress bar) showing how much part is
    loaded,
    while user sees the small image. When you achieve 100% tou
    show that
    big image. What's more?
    > Can any one tell me how to stream the images in flash.
    What are you talking about is not a "streaming", but
    "progressive
    download". Images "streaming" is impossible.

  • Reg: Upload an image from IBM File Net into SAP ZTABLE .

    HI,
    I have a requiremnt to Upload an image from IBM File into SAP ZTABLE .
    or
    can anyone give me an idea on
    How to Upload an image from any image software into SAP ZTABLE .
    Thnaks,
    Arjun
    Edited by: Arjun on Jan 22, 2010 2:24 PM

    hI,
    I've found the solution!!
    My code was wrong, the correct way is:
    DATA:  image type XSTRING,
                imagelength type i.
    DATA: it_img TYPE w3mimetabtype.
    CALL FUNCTION 'SSFC_BASE64_DECODE'
       EXPORTING
         b64data = output-CONVERT_FROM_URL_RESULT
       IMPORTING
         bindata = image
       EXCEPTIONS
         OTHERS  = 8.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
       EXPORTING
         buffer                = image
         "APPEND_TO_TABLE       = ' '
       IMPORTING
         OUTPUT_LENGTH         = imagelength
       tables
         binary_tab            = it_img.

  • HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS

    HI
    HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS

    Hi, 
       goto se78 -> in the menubar click graphic  and import to select ur images from ur system .. then click transport button .. it automatically gets into the smartform graphic image list.. then get into transaction smartform and use the image u imported into that..
    U can import anykind  of image which u have stored in ur pc through se78..
    Regards,
    Priya.

  • How to load other obejects in flash file after intro using ActionScript 3.0

    How to load other obejects in flash file after intro using ActionScript 3.0 or any other method all in same fla file. see blow intro screen shot ,this one playing repeatedly without loading other fla pages .only way to load other pages is click on Skip intro .see second screeshot below .i need that site to load after intro .
    see codes already in
    stop();
    skipintro_b.addEventListener(MouseEvent.CLICK, skipintro_b_clicked);
    function skipintro_b_clicked(e:MouseEvent):void{
    gotoAndStop("whoweare");
    There is another script there
    /* Simple Timer
    Displays a countdown timer in the Output panel until 30 seconds elapse.
    This code is a good place to start for creating timers for your own purposes.
    Instructions:
    1. To change the number of seconds in the timer, change the value 30 in the first line below to the number of seconds you want.
    var fl_TimerInstance:Timer = new Timer(1000, 30);
    fl_TimerInstance.addEventListener(TimerEvent.TIMER, fl_TimerHandler);
    fl_TimerInstance.start();
    var fl_SecondsElapsed:Number = 1;
    function fl_TimerHandler(event:TimerEvent):void
              trace("Seconds elapsed: " + fl_SecondsElapsed);
              fl_SecondsElapsed++;
    i have no knowledge about these thing ,any help really appreciated .

    Ned Murphy Thank you very Much .It is working .Great advice

  • How to upload the image and diplay the image in the browser using jsp

    How to upload the image and diplay the image in the browser using jsp
    thanks
    shan

    i'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question

  • HT2493 How to change preview image of a file and NOT the icon ?

    Hello dear Mac users
    How to change preview image of a file and NOT the icon ?
    I know how to change the icon of a file, but I wish to know how to change the preview of any file.
    For example: my file is "mysong.aif", I changed the icon to be "mylogo.png" using cmd+i, cmd+v on the icon. But the preview of the file still remain the same.
    I know it can be changed using iTunes, but I don't want to import all my files in iTune, and iTune cannot import all type of files.
    I hope someone will understand my needs...
    Thanks!

    Thanks BeerbarX
    You can't change the preview image for anything
    hoo
    QuickLook plugin
    what are the plugin ?
    In the case of a music file, it will be that generic black box with a note on it
    That is exactly what I'm asking about !
    MP3 which has a special tagging standard that can include artwork
    How can I "tag" my MP3 without going thru iTunes ? Is it possible to do it dirrectly in the Finder ? Is there other type of files that can include such tags ?
    Thank you for answering my question , wich I have to admit may seem useless, but I wish I could put something like a signature logo on each of the different file I produce (as AIF for music and MP4 for video clip) instead of that generic black box with a note on it, and by the meantime keeping a different icon for all of them in order to illustrate theire content.

  • How to upload background image in Theme Editor

    Hi
    I want upload an image to theme
    I try by the theme edit i'ts not work
    I try by Edit "Right to Left" Theme Images
    I don't find the button "Upload"
    please Help!!!!
    How to upload background image in Theme Editor without to entry to the server
    Regards
    Yossi

    Hi
    Thank you for response
    I want upload to TransparentContainer Image in background
    I change the design to Plain
    I Try Upload by the browse in the theme
    but The image is not upload
    even if i delete the chace  serever
    i'ts not working

  • Swf flash files are not displaying neatly within table cells.

    The latest version of Firefox (3.6.12) The website I have design now shows thick lines underneath the flash files. URL Below. The table of pictures should be neat, instead the cells in which the flash files are contained are increasing in height and breaking apart the table . This does not happen in previous version of Firefox, Internet Explorer & Google Chrome.
    Is there anything i should be doing different when inserting flash files into web pages that have complex tables? Or is this a problem with Firefox?
    http://www.arnoldwills.co.uk/Master_Home.html

    Add a rule object { display: block } to the stylesheet. An object is an inline element by default.

  • How we can restrict record in CTL file on the basis of other table ?

    Hello all,
    How we can restrict record in CTL file on the basis of other table ?
    Eg.
    I have following control file to load the records in the table through the sql loader.
    LOAD DATA
    INTO TABLE THIST APPEND
    FIELDS TERMINATED BY "|" TRAILING NULLCOLS
    LNUM POSITION(1) Char "substr(:LOAN_NUM, 4, 13)",
    TSRNUM Char "rtrim:TRAN_SR_NUM)" ,
    TPROCDT Char "to_char(to_date rtrim:TRAN_PROC_DT), 'MMDDYYYY'), 'YYYYMMDD')"      
    I have another table c all TFILE in which I have LNUM. I want to import only those records from input text file using the control file and sql loader in which LNUM is exist in the TFILE.
    So how i can restrict it in the Control File.
    Thanks
    Kamlesh Gujarathi
    [email protected]

    Hello Satyaki De.
    Thank you very much for your suggestion but my Private information is totally apart from this question & I already I have changed each and every information from the question.
    Thanks
    Kamlesh Gujarathi
    [email protected]

  • How to upload a image file using JSP

    hello to all.
    i am in the learning stage please help me to upload a image file
    using jsp. give the explanation to the code also if possible.
    thanks in advance
    sincerely
    Chezhian

    You may find the following articles useful for the JSP/Servlet part:
    Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
    Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html

Maybe you are looking for

  • New BT Vision Box stops my other digital freeview ...

    I'm a new BT vision customer and have set my vision box up to include using the poweline adapters as my tv is otherside of the room to my homehub and all works fine. However the TV we have in the bedroom that has freeview built in will no longer rece

  • Retention money handling

    Hi Friends, In our process we need to retain 10% of the amount from the vendor's invoice on each bill. Vendor can send partial invoices. Suppose our total PO value is 1000USD and our terms are 10% retention money. In 1st invoice vendor claims 200USD,

  • AdfPage.PAGE.findComponent FAILED with WebCenter

    Dear all, I have to get in javascript a component with id="pdfBtn" BUT I have to set the parameter r1:0:pdfBtn => AdfPage.PAGE.findComponent('r1:0:pdfBtn') It works when I develop a task flow and manage by myself, but it failed when I add this into W

  • Regarding Bapi (BAPI_ACC_document_post)

    Hi, While executing  the Bapi The return message is showing that invoice document is successfully posted ,but I have checked in the database tables  like bseg,bkpf  is not updated. could please tell me what is the problem . Regards, Venu.

  • \OPatch\docs\etc\config\inventory" does not exist.

    Dear One, I have up-graded my Database 11.2.0.1 to 11.2.0.3.while applying the OPatch below error is coming... The specified path is not an interim Patch shiphome Meta-data files are missing from the patch area Patch location = F:\app\Administrator\p