Embed blob object into HTML region

Hi everyone!
I am interested in embedding a .swf file into an HTML region in ApEx. It's real easy when the source is a file or http server. However, could this be done if the source was a blob stored in the database?
Below is the code that works for me now in the HTML region, but I wonder if I could get the embed code to extract the source file from the database instead of a file server.
<object width="1024" height="768">
<param name="movie" value="http://webfiles.abc.com/level2/some_xcelsius_dashboard.swf">
<embed src="http://webfiles.abc.com/level2/some_xcelsius_dashboard.swf" width="1024" height="768">
</embed>
</object>
Thanks!!!
-Rudy

Hi
Yes, that is easily done. See this doc on how to download a blob from a table:
Link
When you have created your download function, put a reference to it in the src= parameter.
Luis

Similar Messages

  • Embed JavaFX object into JSPX page

    Hi guys,
    I developed a RIA using javaFX and now want to embed this object into a JSPX page. In the page I wrote following sentences,
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
            <f:view>
                <af:group>
                    <afh:script source="http://dl.javafx.com/1.2/dtfx.js"/>
                    <afh:script>
                        javafx(
                            archive: "myJavaFX.jar",
                            draggable: true,
                            width: 1080,
                            height: 540,
                            code: "path.Main",
                            name: "myJavaFX"
                    </afh:script>
                </af:group>
            </f:view>
    </jsp:root>I used Oracle Jdeveloper as my IDE and weblogic server as application server. I put the .jar files of myJavaFX application into same folder as the .jspx page.
    To my surprise, when the web page was generated, the application was not displayed but showing the following sentence,
    javafx( { archive: "firstJavaFX.jar", draggable: true, width: 1080, height: 540, code: "path.Main", name: "firstJavaFX" } );Obviously, the logic of my script was not recognized. Instead, it's printed out directly.
    So what could I do with this? Any helpful comments would be greatly appreciated.
    Regards from Isaac.

    This forum is devoted to JSF, JavaServer Faces, which is unrelated to the technologies you are using. You might get a better response in a forum devoted to JavaFX or JSP.

  • How to embed Labview-style charts objects into html pages?

    Hello all,
    I am building a C# (.Net) application that publishes html web pages. Certain pages must contain graphs that I refresh dynamically using select statement that query data from SQL SERVER databases. I like the look-and-feel of the Labview graphs and would like to know in details by which means I could embed them in my C# application. I have looked on the NI web site but aside of certain old articles about Components Works (CW) in Labview 8, have not found any other information on the subject.
    Also are there alternate objects that you know on the market that would be more easily embeddable into html pages and still have the same functions as the Labview graphing objects?
    Thanks a lot
    Christophe

    Hello Crist0phe,
    Like tst mentioned it might be a good idea to have a look at Measurement Studio and evaluate it.
    You can just download the trial version over here:
    http://sine.ni.com/np/app/main/p/docid/nav-99/lang/nl/
    FYI: You can consider Measurement Studio as the newer set of tools that replaced Component Works.
    You could kind of consider it as a "next step" in evolution after Component Works.
    Most .NET developers that use Measurement Studio also really like the WPF UI Controls, so for sure have a look at them while evaluating Measurement Studio.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Embed PDF file in HTML region

    Hi There
    I have a simple report - with a link to view an underlying document. The document will be displayed on a seperate page with one HTML region. Say the file to display is statement.pdf and it is has already been uploaded to apex images. There is a hidden field P3_FILENAME on the display page. This gets set from the report. On the HTML region:
    <div style="">
    <embed height="600" width="1200" name="Statement" src="#WORKSPACE_IMAGES#&P3_FILENAME." type="application/pdf" />
    </div>but it does not work. However, if I simply do this and 'run' the page - it displays fine.
    <div style="">
    <embed height="600" width="1200" name="Statement" src="#WORKSPACE_IMAGES#statement.pdf" type="application/pdf" />
    </div>Looking at the source of the resultant failing page I can see that the values were correctly set.
    Any ideas?
    thanks
    P

    I think the HTML is looking for the explicit &P3_FILENAME. and can't find it because it is being referenced through the HTML rendering engine rather than the PL/SQL engine which would handle the variable substitution.
    Try creating a PL/SQL region where you write out the div tags as strings using DBMS_OUTPUT.PUT_LINE. I use this to create some rather complicated reports and it works great for letting me do variable substitution amongst my HTML. Here's a simple example (mine's a procedure I call to feed in page variables):
    create or replace PROCEDURE PROC_DASH_SAFETY(x_org NUMBER, x_dt DATE)
    AS
      v_dt_disp        VARCHAR2(15);
      v_dt             DATE           := x_dt;
      v_org_id         NUMBER         := x_org;
      v_fact_id        NUMBER;
      v_org_nm         VARCHAR2(47);
      v_org_tz         VARCHAR2(4);
      ontime           VARCHAR2(47);
      v_saf_ct         PLS_INTEGER    := 0;
      v_eff_ct         PLS_INTEGER    := 0;
      saf_aud_t        NUMBER;
      saf_aud_a        NUMBER;
      eqp_aud_t        NUMBER;
      eqp_aud_a        NUMBER;
      saf_chk_t        NUMBER;
      saf_chk_a        NUMBER;
      saf_loss         NUMBER;
      eff_mpg_t        NUMBER;
      eff_mpg_a        NUMBER;
      eff_idl_t        NUMBER;
      eff_idl_a        NUMBER;
      eff_brk_t        NUMBER;
      eff_brk_a        NUMBER;
      pm_tgt_pct       NUMBER;
      pm_ct            INTEGER;
      pm_act_pct       NUMBER;
      pm_done          NUMBER;
      pm_ovrdue        NUMBER;
    begin  -- 100
      select ORG_NM, TZ into v_org_nm, v_org_tz from ORG_ENTITIES
       where ORG_ID = v_org_id;
      v_dt_disp   :=  to_char(v_dt,'MM/DD/YYYY');
      select CASE WHEN v_org_tz = 'MST' and sysdate - v_dt < 33/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'MDT' and sysdate - v_dt < 33/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'MST' and sysdate - v_dt >= 33/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'MDT' and sysdate - v_dt >= 33/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'CST' and sysdate - v_dt < 32/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'CDT' and sysdate - v_dt < 32/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'CST' and sysdate - v_dt >= 32/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'CDT' and sysdate - v_dt >= 32/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'EST' and sysdate - v_dt < 31/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'EDT' and sysdate - v_dt < 31/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'EST' and sysdate - v_dt >= 31/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'EDT' and sysdate - v_dt >= 31/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'PST' and sysdate - v_dt < 34/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'PDT' and sysdate - v_dt < 34/24
                     THEN '<span class="grn">Yes</span>'
                WHEN v_org_tz = 'PST' and sysdate - v_dt >= 34/24
                     THEN '<span class="red">No</span>'
                WHEN v_org_tz = 'PDT' and sysdate - v_dt >= 34/24
                     THEN '<span class="red">No</span>'
                ELSE '<span class="red">No</span>'
           END as PRINT_TIME
      into ontime
      from dual;
      htp.p('<p class="lgl">Dashboard information is confidential.  Refer to your employee handbook for confidentiality guidelines.</p>');
      --htp.p('<p>'|| v_org_nm ||' on '|| v_dt_disp ||'</p>');
      htp.p('<table border="0" cellpadding="0" cellspacing="0" summary="Run Information" width="800">');
          htp.p('<tr><td>Dashboard for '|| v_org_nm ||' on '|| v_dt_disp ||'</td><td> </td>');
          htp.p('<td>Dashboard run on time? '|| ontime ||'</td></tr>');
      htp.p('</table>');
      htp.p('<table border="3" cellpadding="0" cellspacing="0" summary="Daily Dashboard">');
      --Safety
      htp.p('<tr><td><table border="0" cellpadding="0" cellspacing="0" summary="Safety Information" width="400">');
      select COUNT(ID) into v_saf_ct from DASHBOARD_AUDITS
       where DATE_INDEX = v_dt and ORG_ID = v_org_id;
          htp.p('<tr><th><div title="Safety">Safety</div></th><td class="c">Target</td>');
              htp.p('<td class="c">Actual</td><td class="c">%</td>');
              htp.p('<td style="text-decoration: underline;">Loss Free Day?</td></tr>');
      IF v_saf_ct = 1 THEN
        select LOSS into saf_loss from DASHBOARD_AUDITS
         where DATE_INDEX = v_dt and ORG_ID = v_org_id;
        select AUDIT_TARGET, AUDIT_ACTUAL, CHKRD_TARGET, CHKRD_ACTUAL, MECH_TARGET, MECH_ACTUAL
          into saf_aud_t, saf_aud_a, saf_chk_t, saf_chk_a, eqp_aud_t, eqp_aud_a
          from DASHBOARD_AUDITS
         where DATE_INDEX = v_dt and ORG_ID = v_org_id;
    ----Safety Audits
        IF saf_aud_t > 0 THEN
          htp.p('<tr><td>  Safety Audits</td><td class="c">'|| saf_aud_t ||'</td>');
              htp.p('<td class="c">'||saf_aud_a||'</td>');
            IF ROUND(saf_aud_a*100/saf_aud_t,2) >= 100 THEN
              htp.p('<td class="cgr">'||ROUND(saf_aud_a*100/saf_aud_t,2)||'%</td>');
            ELSIF ROUND(saf_aud_a*100/saf_aud_t,2) < 100 THEN
              htp.p('<td class="crd">'||ROUND(saf_aud_a*100/saf_aud_t,2)||'%</td>');
            ELSE
              htp.p('<td class="crd">-</td>');
            END IF;
          ELSE
          htp.p('<tr><td>  Safety Audits</td><td class="c">No Audit Target set</td>');
              htp.p('<td class="c">'||saf_aud_a||'</td><td class="c">-</td>');
          END IF;
          IF saf_loss = 1 THEN
              htp.p('<td class="cgr">Yes</td></tr>');
          ELSE
              htp.p('<td class="crd">No</td></tr>');
          END IF;
    ----Equipment Audits
        --eqp_aud_t        := 0;
        --eqp_aud_a        := 0;
        IF eqp_aud_t > 0 THEN
          htp.p('<tr><td>  Equipment Audits</td><td class="c">'||eqp_aud_t||'</td>');
              htp.p('<td class="c">'||eqp_aud_a||'</td>');
            IF ROUND(eqp_aud_a*100/eqp_aud_t,2) >= 100 THEN
              htp.p('<td class="cgr">'||ROUND(eqp_aud_a*100/eqp_aud_t,2)||'%</td></tr>');
            ELSIF ROUND(eqp_aud_a*100/eqp_aud_t,2) < 100 THEN
              htp.p('<td class="crd">'||ROUND(eqp_aud_a*100/eqp_aud_t,2)||'%</td></tr>');
            ELSE
              htp.p('<td class="crd">-</td></tr>');
            END IF;
          ELSE
          htp.p('<tr><td>  Equipment Audits</td><td class="c">No Equipment Audits Target Set</td>');
              htp.p('<td class="c">'||eqp_aud_a||'</td><td class="c">-</td>');
          END IF;
    ----Checkrides
        IF saf_chk_t > 0 THEN
          htp.p('<tr><td>  Check Rides</td><td class="c">'||saf_chk_t||'</td>');
              htp.p('<td class="c">'||saf_chk_a||'</td>');
            IF ROUND(saf_chk_a*100/saf_chk_t,2) >= 100 THEN
              htp.p('<td class="cgr">'||ROUND(saf_chk_a*100/saf_chk_t,2)||'%</td></tr>');
            ELSIF ROUND(saf_chk_a*100/saf_chk_t,2) < 100 THEN
              htp.p('<td class="crd">'||ROUND(saf_chk_a*100/saf_chk_t,2)||'%</td></tr>');
            ELSE
              htp.p('<td class="crd">-</td></tr>');
            END IF;
          ELSE
          htp.p('<tr><td>  Check Rides</td><td class="c">No Checkride Target Set</td>');
              htp.p('<td class="c">'||saf_chk_a||'</td><td class="c">-</td>');
          END IF;
      ELSE
          htp.p('<tr><td colspan="4">This information has not been recorded.</td></tr>');
      END IF;
      htp.p('</table></td>');
      select COUNT(ID) into v_eff_ct from VF_TARGET_PERF
         where ORG_ID = v_org_id and v_dt between BEGIN_DATE and NVL(END_DATE,sysdate);
      IF v_eff_ct = 1 THEN
        select MPG, IDLE_TIME, HARD_BRAKES into eff_mpg_t, eff_idl_t, eff_brk_t
          from VF_TARGET_PERF
         where ORG_ID = v_org_id and v_dt between BEGIN_DATE and NVL(END_DATE,sysdate);
      ELSE
        eff_mpg_t        := 0;
        eff_idl_t        := 0;
        eff_brk_t        := 0;
      END IF;
      select SUM(TRIP_DISTANCE)/SUM(TRIP_FUEL), SUM(HARD_BRAKE_COUNT),
              SUM(IDLE_TIME)/SUM(TRIP_TIME)*100
        into eff_mpg_a, eff_brk_a, eff_idl_a
        from PEOPLENETIF.TRIP_DATA
       where TRUNC(TRIPSTART_TIMESTAMP) = v_dt-1
         and VEHICLE_LABEL IN
             (select EQUIP_TAG from EQUIPMENT
               WHERE ORG_ID = v_org_id and EQUIP_TYPE_ID = 1)
         and TRIP_FUEL > 0 AND DRIVING_MPG <= 10;
      htp.p('<td><table border="0" cellpadding="0" cellspacing="0" summary="Performance" width="400">');
          htp.p('<tr><th>Efficiency</th><td class="c">Target</td>');
          htp.p('<td class="c">Actual</td><td class="c">%</td>');
              htp.p('<td class="c"> </td><td class="c"> </td></tr>');
    ------MPG
          htp.p('<tr><td>  MPG</td><td class="c">'||eff_mpg_t||'</td>');
              htp.p('<td class="c">'||ROUND(eff_mpg_a,2)||'</td>');
      IF eff_mpg_t > 0 THEN
        IF ROUND(eff_mpg_a/eff_mpg_t*100,1) >= 100 THEN
              htp.p('<td class="cgr">'||ROUND(eff_mpg_a/eff_mpg_t*100,1)||'%</td>');
        ELSE
              htp.p('<td class="crd">'||ROUND(eff_mpg_a/eff_mpg_t*100,1)||'%</td>');
        END IF;
      ELSE
              htp.p('<td class="c">-</td>');
      END IF;
              htp.p('<td class="c"> </td><td class="c"> </td></tr>');
    ------Idle Time
          htp.p('<tr><td>  Idle Time</td><td class="c">'||eff_idl_t||'</td>');
              htp.p('<td class="c">'||ROUND(eff_idl_a,2)||'</td>');
      IF eff_idl_t > 0 THEN
        IF ROUND(eff_idl_a/eff_idl_t*100,1) > 100 THEN
              htp.p('<td class="crd">'||ROUND(eff_idl_a/eff_idl_t*100,1)||'%</td>');
        ELSE
              htp.p('<td class="cgr">'||ROUND(eff_idl_a/eff_idl_t*100,1)||'%</td>');
        END IF;
      ELSE
              htp.p('<td class="cgr">-</td>');
      END IF;
              htp.p('<td class="c" colspan="2">PM''s</td></tr>');
    ------Hard Brakes
          htp.p('<tr><td>  Hard Brakes</td><td class="c">'||eff_brk_t||'</td>');
              htp.p('<td class="c">'||ROUND(eff_brk_a,0)||'</td>');
              --htp.p('<td>'||ROUND(eff_brk_a/eff_brk_t,1)||'%</td>');
              htp.p('<td class="c">-</td>');
              htp.p('<td class="cu">Complete</td><td class="cu">Overdue</td></tr>');
    ------Preventative Maintenance
      select COUNT(ID) into pm_ct from DASHBOARD_PM
       where ORG_ID = v_org_id and DATE_INDEX = v_dt;
      IF pm_ct = 1 THEN
        select PM_TARGET into pm_tgt_pct from PM_TARGETS
         where ORG_ID = v_org_id and v_dt >= START_DATE and v_dt <= NVL(END_DATE,sysdate);
        select PM_COMPLETE, PM_DUE into pm_done, pm_ovrdue
          from DASHBOARD_PM where ORG_ID = v_org_id and DATE_INDEX = v_dt;
        IF pm_ovrdue = 0 THEN
          pm_act_pct       := 100;
        ELSIF pm_done > 0 THEN
          pm_act_pct       := ROUND((pm_done-pm_ovrdue)/pm_done*100,1);
        ELSE
          pm_act_pct       := 0;
        END IF;
          htp.p('<tr><td>  PM Currency</td><td class="c">'||ROUND(pm_tgt_pct,1)||'%</td>');
              htp.p('<td class="c">'||ROUND(pm_act_pct,1)||'%</td>');
        IF pm_tgt_pct > 0 THEN
          IF ROUND(pm_act_pct-pm_tgt_pct,1) < 0 THEN
              htp.p('<td class="crd">'||ROUND(pm_act_pct-pm_tgt_pct,1)||'%</td>');
          ELSE
              htp.p('<td class="cgr">'||ROUND(pm_act_pct-pm_tgt_pct,1)||'%</td>');
          END IF;
        ELSE
              htp.p('<td class="crd">Set Target!</td>');
        END IF;
              htp.p('<td class="c">'||pm_done||'</td><td class="c">'||pm_ovrdue||'</td></tr>');
      ELSE
          htp.p('<tr><td>  PM Currency</td><td class="c">- %</td>');
              htp.p('<td class="c">- %</td>');
              htp.p('<td class="cgr">Enter PMs!</td>');
              htp.p('<td class="crd">- %</td>');
              htp.p('<td class="c">--</td><td class="c">--</td></tr>');
      END IF;
      htp.p('</table></td></tr>');
      EXCEPTION
        when VALUE_ERROR then
          dbms_output.put_line('VALUE_ERROR exception raised');
    end;
    /

  • How to load a large amount of HTML into HTML region?

    I am trying to display a clickable image map (HTML <map>) in a region. The HTML source for the image map is fairly large and will not fit in the Apex editor (HTTP 400 error when I Apply Changes). I would also rather not manage that much HTML in the Apex web editor. So I stored the code in a file and added it to my applications file storage.
    I have tried various methods of getting the HTML to load when the page is rendered. I tried a URL region, but that leads to all kinds of ACL/security issues that we do not want the customner to have to deal with. i also tried some PL/SQL:
    DECLARE
    l_file_id NUMBER;
    BEGIN
    SELECT id
    INTO l_file_id
    FROM APEX_APPLICATION_FILES
    WHERE filename = 'myhtml';
    APEX_UTIL.GET_FILE(
    p_file_id => l_file_id,
    p_inline => 'YES');
    END;
    But that just replaces the entire page, not just the region it's defined in (even when the HTML is without <head> etc).
    Various attampes wih #APP_IMAGES#myhtml and &APP_IMAGES.myhtml just give me the translation of the APP_IMAGES variable.
    So, how do I load a large chunk of HTML into a region dynamically at run time? I also need this to interact with APEX in the sense that JavaScript will set APEX variables and cause a SUBMIT when the use clicks on the image map.

    Hi Andy,
    ATD wrote:
    Does your HTML define the regions/points on the map using AREA tags?Yes. it is actually generated using MapSefrver from huge tables of SDO_GEOMETRY (Oracle Spatial).
    If so, you could define a report template that does this and use this for a report based on a table that has the settings for shape, coords, href etcHmm, the code (HTML map) is auto-generated so if I understand you correctly, this might be difficult. One of the HTML is approximately 180KB of text.
    I found a way to do this using dynamic PL/SQL. I created a new table that has a varchar filename and a CLOB for the file data. I then imported the HTML into the table using SQL Developer (copy&paste, nice!). I then created an HTML region and used the following:
    declare
    html clob;
    len number;
    st number;
    c number;
    begin
    select length(data)
    into len
    from FILES
    where name = 'state_query.html';
    st := 1;
    while len > 0
    loop
    if len > 32000 then
    c := 32000;
    else
    c := len;
    end if;
    select substr( data,st,c )
    into html
    from FILES
    where name = 'state_query.html';
    htp.p( html );
    st := st + c;
    len := len - c;
    end loop;
    end;
    Edited by: CoyoteTech on May 13, 2009 7:27 AM

  • Loading of MIME objects into HTML pages

    Hi Everyone
    I am trying to load two logos as mime objects into an HTML page.
    I am using
    call method web_page->load_mime_object
    After that I use
    call method web_page->show_url
    Whenever I call this last method with parameter in_place as a space (to call an external browser) my logos are not displayed.
    If I call the method with in_place as 'X' the logos appear.
    The mime objects reside in the SAP web repository (trans smw0).
    Any ideas how to pull the logos into the external page?
    Regards
    Johan

    Hi Satya
    Thanks very much for your reply. I do not use ITS for my purposes but it is something to be remembered for next time.
    I have actually solved the problem but only with a "second price" solution.
    In the HTML form I have pointed the source of my two images to a shared folder somewhere on our dev server. For our purpose this will always work.
    What I am thinking is that if SAP allows an external browser to be used it should also give the means of loading the images. Maybe I just don't know how.
    Now that I think about it more - I should go and try your suggestion in any case and see if it works. 
    I thank you again and if anyone comes with more ideas they will be as welcome.
    Regards
    Johan

  • Display Blob content in HTML Region

    Hello,
    I'm trying to display the contents of an .htm file in an html region. I can get it to display as a link but I can't get it to display as an image. I have a page item that is display as text (do not save state). For the source value I use a PL/SQL function body. I use the following code to display the image,
    return '<img scr="#OWNER#.get_help_doc?p=U76.htm></img>';
    I get the broken link symbol.
    However, if I display it as a link as follows, it works:
    return '<a href="#OWNER#.get_help_doc?p=U76.htm'
    || '">Help</a>';
    How can I display the .htm file as an image? Thanks, Elizabeth

    I found my answer in message
    http://apex.oracle.com/pls/otn/f?p=11933:120:3919935161915118::NO:RP::.
    I used the <embed src=>
    Elizabeth

  • How to insert Transition object into html document

    Hello Friends,
    I am trying to insert Transition object ( downloaded from
    Extension) into HTML document.
    I tried Insert -> HTML -> Head Tags -> Transitions,
    but after doing all this I am not able to insert
    this extension in my document.
    As I am beginner to Dreamweaver, Can anyone pls. help me out?
    I am using Dreamweaver 8.
    Do I need to select <img> tag before inserting
    Transition Object?
    Pls. pls. help me out.....
    Waiting for reply.
    Thanks in advance for your help.

    When I used to do tabs I would set up a page that was as wide as the tab sheet including the tab, then add text frames in each tab position.

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • You can't embed QT movies into HTML!!!!

    I've been trying for 3 days now to embed a QT movie into an
    html doc and have had no luck.
    All I'm trying to do is embed a simple QT movie in an html
    document and
    then be able to load another movie by clicking a text link.
    I've looked at every Javascript document from here to the Gama
    quadrant and I can't get it to work with IE.
    If you can tell me how to embed a QT movie into a html doc
    and then be able to load a new movie into the same with with a text
    link, I'll give you 1,000,000,000,000 Plutonian Marks.

    gold987987987 wrote:
    > First of all, thank you all for your suggestions. It's
    always nice to hear
    > different approaches to solving problems.
    > It's my fault for not being more specific with
    explaining my clients request.
    > They wanted single page deployment in H.264 with a video
    list controlled by
    > simple text buttons.
    > Zip files and multiple pages were out of the question,
    not to mention other
    > video formats.
    > In the end, I had to convince them to use this inferior
    format because IE
    > cannot take commands from Javascript to control QT
    movies.
    >
    > Big clients demand exact things, and I had oblige.
    > So, I'm sorry everyone, I didn't mean to ignore your
    suggestions, I just
    > couldn't use any of them because it's not what my client
    wanted.
    Why don't you post the offending code that doesn't work,
    along with a
    test page with the code that doesn't work, to see if it can
    be solved?
    Without a link or the code, no one will be able to help.
    Steve

  • How to embed an Applet into html

    Hi, I've an applet called IDrive written in Eclispe which works perfect there, I've been trying to paste the IDrive class file into my html folder and embed my applet by trying e.g.
    <applet code="../css/IDrive.class" width="300" Height="400">
    </applet>css is a folder outside the folder which contains the html file in which im trying to embed my Applet
    but no matter what I do i keep getting class not found error's, and as im totally new to applets I hope someone could please help me....
    Thanks

    I suggest you look at the applets under the demo directory and how they are done.
    Here are also some tutorials.
    [http://www.google.co.uk/search?q=applet+html+tutorial]

  • How to embed Flash Player into HTML page

    Hello,
    I have a question for some gurus who know very well the
    Javascript.
    Namelly what i want is to add <object> tag to the
    current html page programatically with using JAVA SCRIPT.
    As IE is more forgiving it displays the object properly but,
    in Firefox it behaves a bit different. Actually it doesn't appear
    at all in Mozilla browser. Any good sample would be great help.
    I was wondering what i am doing wrong?
    Thanks :)

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • How to terminate HTML region

    Hi guys,
    I just copied the HTML code from Youtub and pasted it into HTML region:
    How can I avoid what you see in the following image
    http://www.9m.com/upfiles/fm577745.png
    However, this is the HTML code that I am using :
    </head>
    <body>
      <object style="height: 390px; width: 640px">
        <param name="movie" value="&P2_VIDEO.">
        <param name="allowFullScreen" value="true">
        <param name="allowScriptAccess" value="always">
        <embed
          src="&P2_VIDEO."
          type="application/x-shockwave-flash"
          allowfullscreen="true"
          allowScriptAccess="always"
          width="640"
          height="390">
      </object>
    </body>
    </html>Best Regards,

    I want just to make sure that nothing wrong in HTML code.There is. This is tag soup:
    </head>
    <body>
      <object style="height: 390px; width: 640px">
        <param name="movie" value="&P2_VIDEO.">
        <param name="allowFullScreen" value="true">
        <param name="allowScriptAccess" value="always">
        <embed
          src="&P2_VIDEO."
          type="application/x-shockwave-flash"
          allowfullscreen="true"
          allowScriptAccess="always"
          width="640"
          height="390">
      </object>
    </body>
    </html>As previously explained ({message:id=9671453}), <tt>head</tt>, <tt>body</tt> and <tt>html</tt> are elements that are supplied in APEX by the page template. Only the <tt>object</tt> element and its contents appear in an HTML region.
    <strong>To work with APEX you really need at least a basic understanding of (X)HTML, CSS and JavaScript. These are the foundations on which everything else is built. Spend some time on some tutorials: start with HTML, XHTML, and CSS, then Javascript and the HTML DOM, until you know how pages are structured, presentation is applied through style sheets, and behaviour is added using events and scripts.</strong>

  • BLOB Insert into SQL Server2000

    Dear All,
    I have problem with  insert the BLOB object into MSSQLServer 2000 in WebDynpro.
    Please help me how to solve it?
    Best Regards,
    Mukesh.

    Hi Sweety,
    Can you provide some more information? 
    The script for each of your queries.  (looking especially at how you are using single quotes around the Param properties for different data types)
    Are you using an Command SQL Query for the insert?
    Why are you using the Calculation action block instead of using the Expression Editor for the calculation?
    Regards,
    Mike

  • HTML Region: Image from item name

    Im having problems getting item states into html region.....
    I have setup an item that will hold the picture web address: e.g. P1_HTML_TEST = '/webserver/smile.jpg'
    Not any of the below retreive the item state.... what is the proper meathod of doing this?
    It seems that the value isnt being retreived at all.
    <img src=$P1_HTML_TEST. alt="">
    <br>
    <img src="$P1_HTML_TEST." alt="">
    <br>
    <img src=:P1_HTML_TEST alt="">
    <br>
    <img src=":P1_HTML_TEST" alt="">
    <br>
    $P1_HTML_TEST.
    <br>
    :P1_HTML_TEST
    <br>
    Thanks

    <img src="&P1_HTML_TEST." alt="">Please consult the documentation at:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11947/concept.htm#sthref197

Maybe you are looking for

  • Is there any way to include a Numbers table into a Pages document?

    I have a nice useful well-formatted table in a Numbers sheet and now I'd like to include it in a Pages document. Is there any way to do this? I don't care that the table remain "active" (that is, it doesn't have to allow me to change values and recal

  • Error when setting up connection from Universe Designer to Oracle database

    Hello, I am attempting to create a connection to an Oracle 10 database in Universe Designer.  I am currently running Business Objects XI 3.1 SP3 on a 32 bit machine.  I have the Oracle client installed.  In Universe Designer when I attempt to create

  • Is there any documentation availble regarding the architecture of Firefox?

    Hi, I'm trying to create a functional model of the architecture of Firefox, but can not find the right documentation. Is someone aware of documentation like this focussing on Firefox? Something like this: http://www.chromium.org/chromium-os/chromiumo

  • Can I try for walk in pick up if I ordered?

    I ordered my 3g via DF about 6 days ago, and the wait is killing me. I'm a patient person normally, but I keep having friends telling me "Oh, I just walked in right when the store opened up and got one". I'm wondering, even though I ordered one, if I

  • 10.2 ok but cannot install 10.3 computer freezes HELP

    hello! can anyone help me? i cant seem to find the answer i am looking for. i have a Lombard (333mhz) g3 powerbook. i have maxed out the RAM, and removed the 4gig hard drive and replaced with a 60 gig Hitachi. (after a lot of reading and checking tha