SWF not showing in HTML page

Hiya,
Not sure if I should be posting here or on the Dreamweaver forum [there's a similar post there], but ..
I hope to have some music on my site and have been playing around with various Flash based, XML driven, mp3 players [though I'm a beginner with Flash].
I've got one to look [more or less] as I want it but it doesn't work! It works when previewed within Flash CS4 but not within Dreamweaver. The mp3 [the Josephine Foster song] is there, the XML file is there - I can't think what I've done wrong.
Here's the url: http://www.stevedrake.net/player.html
Thanks in advance.
steve

What is the folder structure for the html versus the Flash versus the xml file versus the mp3 file?
When the Flash file is placed loaded into the html file, the files it loads have to be referenced as if it is in the same folder as the html file (because it essentially is when it loads into that file).

Similar Messages

  • Metadata Not Showing on HTML Pages

    Hi
    I have notice that all the metadata PAGE DESCRIPTIONS are absent form all the sites lately. What happened to them? Most of my customers have used the SEO PAGE TITLE and PAGE DESCRIPTIONS for pages, blog post, and products, but there are not being employment and it seems to hurt there rankings at search engines. Any thoughts?
    Thanks in advance, Teejay

    CMYK color space?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joe Makowiec" <[email protected]> wrote in
    message
    news:[email protected]..
    > On 18 Aug 2006 in macromedia.dreamweaver, bob.garrett
    wrote:
    >
    >> I have a number of jpgs which have been supplied by
    a number of
    >> companies which will not show on a web page. In
    Dreamweaver you do
    >> not get a preview and when the page goes live you
    get the old box
    >> with a red x as if the file is not there.
    >> But if I open any of the files in Photoshop or
    Photoeditor etc and
    >> simply resave then it all works. It is as if the jpg
    format is not
    >> recognised by web browsers and Dreamweaver but is
    recognised by
    >> Photo editors and then if resaved by the Photo
    editor is then back
    >> in an understandable format by Browsers.
    >> Any ideas?
    >
    > There are a number of possibilities:
    > - They weren't uploaded
    > - They were uploaded to the wrong directory
    > - They are on a case-sensitive server, and there is a
    case mismatch
    > between the link to the file and the actual filename
    > - You are running blocking software, and something about
    the file
    > (filename, directory name, image dimensions) trips the
    blocking software
    >
    > If you post a link to the page, somebody may be able to
    offer you more
    > insight.
    >
    > --
    > Joe Makowiec
    >
    http://makowiec.net/
    > Email:
    http://makowiec.net/email.php

  • Flash movie will not show in HTML page

    I have created 2 small *.swf flash movies using Adobe CS3 professional..
    i inserted one move into indes.html and it works just fine
    I inserted another into a second page and all i see is a gray box????
    Both movies are in the same directory,,, both html files are in that same directory and the *.js file is there also
    What could possibly be wrong here ???
    Confused
    ps.s it works fine when i do a F12 to test it????

    The usual causes involve missing files or misnamed files.  Can you provide links to the web pages that are not displaying properly?

  • External .swf not loading on HTML pages

    Good morning,
    I'm having trouble and I was hoping someone could shed some light on what I'm doing wrong. I have a main .swf file from which external .swf files are being loaded through the use of buttons.
    When I preview the animation, everything works just fine. The problem occurs when I put the animation on the website where it needs to be. The main animation appears like it's supposed to, but the buttons are not successful in loading the external .swf files. I've made sure that all .swf files are on the server but still nothing. Could anyone help? I'm not sure what the problem is.
    Here's the AS:
    stop();
    var presentationLoader:Loader = new Loader();
    addChild(presentationLoader);
    //Navigation
    presentation1.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation2.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation3.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation4.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation5.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation6.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(event:MouseEvent):void
    presentationLoader.load(new URLRequest(event.target.name + ".swf"));
    function homeClick(event:MouseEvent):void
    presentationLoader.unload();
    Thank you,
    - Cmarcoux

    For anyone having a similar problem in the future, the solution is in bold:
    stop();
    var presentationLoader:Loader = new Loader();
    addChild(presentationLoader);
    //Navigation
    presentation1.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation2.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation3.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation4.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation5.addEventListener(MouseEvent.CLICK, buttonClick);
    presentation6.addEventListener(MouseEvent.CLICK, buttonClick);
    function buttonClick(event:MouseEvent):void
    presentationLoader.load(new URLRequest("../../media/flash/" + event.target.name + ".swf"));
    function homeClick(event:MouseEvent):void
    presentationLoader.unload();
    For the animation to work on a website, the file path was needed.

  • To show a html page from java application

    hi everyone,
    I am trying to show a html page through java application. What i tried is Runtime.getRuntime().exec("start url"); this shows it opens default browser. It works fine for win Nt but does not work on win98 or linux.
    Is there any other way of achieving the same?
    can anyone help me in this regard. I am in urgent need of it. any reply will appreciate.

    I hope this works.
    String urlName = "http://forum.java.sun.com";
    String browser = "iexplore "; //EXE file name --> for iexplore.exe
    Runtime.getRuntime().exec(browser+urlName);

  • How to show an html page using JEditorPane in applet.

    I have never use jeditorpane with applet so i dont know how to show a html page.if you have some code or any example then please posted that.Thanks

    public class MyApplet extends JApplet{
        private JTextPane textPane = null;
        public void init(){
        HTMLEditorKit editorKit = new HTMLEditorKit();
        HTMLDocument  htmlDoc   = (HTMLDocument)editorKit.createDefaultDocument();
        textPane  = new JTextPane();
        textPane.setEditable(false);
        textPane.setEditorKit(editorKit);
        textPane.setContentType("text/html");
        textPane.setDocument(htmlDoc);
        Container c = getContentPane();
        c.add(new JScrollPane(textPane),    BorderLayout.CENTER);
        c.add(buttonPanel,                  BorderLayout.SOUTH);
        c.add(Box.createVerticalStrut(5),   BorderLayout.NORTH);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.EAST);     
        c.add(Box.createHorizontalStrut(5), BorderLayout.WEST);
        public void setHtml(String html){
            // you should check the textpane's document to detrmine if there
            // is already text in there..if so, then clear the textpane text and then
            // set the new html...Note: JTextPane only show basic Html ..
            // not like a full blown browser
            textPane.setTextt(html);
            textPane.setCaretPosition(0);
    }

  • Documents from Mac added to iCloud do not show up in Pages on iPhone 4S

    Synopsis: Dcouments added to iCloud through Safari on Mac do not show up in Pages on iPhone 4S. New documents created in Pages on iPhone do not show up in iCloud. I expect the doucments to appear on my iPhone soon after uploading them from my Mac to iCloud through Safari, and to appear in iCloud soon after switching to the document listing in Pages and leaving the app. Several hours passed by without transfer happening, and I have waited a day and reconnected to Wi-Fi to wait several more hours. Still nothing shows up either in Pages on iPhone, or in iCloud in Safari on Mac. They are listed with their sizes and extensions (.pages or .pages-tef) in the iPhone Settings > iCloud > Storage & Backup > Manage Storage > Pages, though they don't seem selectable from there.
    Software versions and Settings:
    Mac
    Mac OS X 10.7.2 (Lion)
    Safari 5.1.1
    Pages 4.1
    System Preferences > iCloud: signed in; everything selected, except Photo Stream (no iPhoto).
    Everything seems to work, except Find My Mac is flakey.
    iPhone 4S
    iOS 5.0
    Pages 1.5 (417) [no other iWork apps]
    Documents:
    the defualt "Getting Started";
    a test document with default name "Blank" and content with the word "Testing", shown with upwards arrow in upper right corner; tried renaming to "Just testing", no transfer resulted.
    Plus button + offers: Create Document; copy from iTunes, iDisk, WebDAV; no iCloud (probably because it's supose to be auto);
    Settings > Pages:
    Use iCloud: ON
    Restore: OFF; I have tried this, it automatically turns itself off after restarting Pages. No obvious changes result in Pages.
    Settings > Wi-Fi: ON, connected to a network; tried several networks around town, as well as at home with a Time Capsule router.
    Settings > iCloud:
    everything ON, except Photo Stream;
    Documents & Data:
    Documents & Data: ON
    Use Cellular: ON; also tried OFF initially.
    Storage & Backup:
    Manage Storage > Pages:
    three documents in iCloud are listed, one of which I had created before iCloud on iPhone 3GS, and deleted from iPhone 4S after documents added to iCloud from Mac weren't showing up as expected;
    their sizes are given;
    suffixes are .pages for the two created on Mac, and .pages-tef for the one created on iPhone 3GS (before iCloud);
    iCloud Backup: ON; successfully backs up everyday;
    Email works, contacts are synced, calendar works, and everything seems fine except access to documents.
    Approaches:
    Software updates
    Updated all software, no further updates available. Please confirm with aforementioned version numbers.
    Add and Remove Documents
    Used Safari to add two documents to iCloud with its menu for Pages of iCloud's iWork section, one at a time. Documents were originally created in Pages on Mac, and continuously edited since then. Explicitly saved documents (Save a Version on Lion) before uploading. Documents appeared listed in web page without problem.
    Have tried deleting a document on iPhone that was originally created with Pages on iPhone 3GS prior iOS 5 as a way to jog the listing on iCloud. Listing on iCloud in Safari on Mac continues to show document deleted from iPhone. [Before deleting document, I had updated iPhone 3GS to iOS 5 and signed into iCloud a couple days before getting iPhone 4S, then immediately used the restore from iCloud feature for the iPhone 4S in the Apple retail store, updated all apps on Mac and iPhone, then deleted the document in Pages on iPhone.]
    On iCloud in Safari on Mac: deleted the two documents uploaded from Mac; added the same documents again; edited documents on Mac, then uploaded and chose "Replace documents"; removed documents again; added them again. Never showed up in Pages on iPhone, even after waiting a day.
    Have used iTunes to add the same documents to Pages on iPhone. Successfully opened documents in Pages on iPhone through plus button + > Copy from iTunes. Deleted documents from Pages's document listing, though they remain in iTunes section.
    Removed documents of same name, though older copies, from Pages in iTunes for the iPhone.
    Created a new document with Pages on iPhone, simply added one word "Testing" and then switched to document listing. New document has name "Blank" and an arrow in the upper right corner indicating it will upload next time an internet connection is established. That hasn't happened regardless of being connected to Wi-Fi and cellular for several hours. Next day, reconnected to internet with both Wi-Fi and cellular, the new dcoument "Blank" still is not in iCloud when I visit the site in Safari on Mac, and still has the arrow in the upper right corner in Pages on iPhone.
    iPhone 4S Connected to Internet
    Connected to Wi-Fi several hours each day, and cellular all day except from about 10pm to 7am when I switch it to Airplane mode. Always connected to Wi-Fi and cellular when attempting to access the documents in Pages on iPhone.
    Restart iPhone and Pages
    Have double-pressed Home button on iPhone to reveal along the bottom of screen a list of apps currently open, touched and held an icon to reveal the close badge on all icons, and selected the close badge on Pages, waited a few seconds, then started Pages again.
    Have held On/Off button until "slide to power off" appears, then powered off iPhone, waited a few seconds, then held button again to start. Have done this with Pages either open or closed, per previous note. Still no change in document listing for Pages: test document still has not gone to iCloud, documents in iCloud still have not shown.
    I think the only thing I haven't done is a complete restore.
    Question: Can anybody point out what I might have missed or haven't tried that would get the documents from iCloud to Pages and vice versa?
    I'm not looking forward to several hours of restoring, but if I must…
    TIA

    Okay, I'm not sure what finally jogged it. It seems to be finally working.
    After downloading any documents I could from iCloud to my Mac, I deleted all the documents from iCloud. I also deleted all documents from Pages on iPhone, except the original "Getting Started" document.
    I duplicated the "Getting Started" document (Pages on iPhone) and edited it by moving the butterfly to the left on the same page, then switched to the Documents view. It had the arrow in the upper right corner of "Getting Started Copy", but no progress bar and nothing showed up in iCloud.
    Then, I think I went to Settings > Pages > Use iCloud: NO. Went back to Pages and got a dialog in the Documents listing:
         You are not using iCloud
    What would you like to do with the
         documents currently on this
                        iPhone?
    Keep on My iPhone
    Delete from My iPhone
    Continue Using iCloud
    I tried keeping them, then going back and turning it back on in Pages's settings, then going back to Pages. Finally something different happened: a progress bar on the "Getting Started copy" document. It never seem to finish, and would disappear if the phone went to sleep. I tried the whole sequenece again with same result, and nothing on iCloud.
    I then tried Settings > iCloud > Documents & Data: OFF, and agreed to "Turn Off Documents" and have all documents stored in iCloud deleted, because as far as I could tell there weren't any documents in iCloud at this point anyways. I went back to Pages and the "Getting Started copy" suddenly disappeared.
    So, I went back to Settings > iCloud > Documents & Data: ON, and did the same for Settings > Pages > Use iCloud: ON. Oddly, Pages now tried to download "Getting Started copy" even though it really shouldn't have existed anymore. I tried iCloud in Safari on Mac and saw there now was a document by that name, but when selected it said "Updating…" on it. I deleted it in iCloud, and it disappeared (I think, or I deleted it) in Pages on iPhone.
    I gave up and waited a bit, maybe an hour or two.
    I made sure all the settings were how they needed to be, noticed no documents in iCloud, and only the original "Getting Started" document in Pages on iPhone. I duplicated that document, and that's when it seemed to actually work. First, the arrow in its upper right corner appeared briefly, then a progress bar appeared on it instead, then the progress bar actually moved and completed. (I think. Some indicator happened. Everything is kind of fuzzy at this point while I'm writing this and juggling a couple other technical tasks.) Then I checked iCloud in Safari on Mac and the document was there. Wow.
    So, I immediately tried uploading to iCloud from my Mac the two documents I had been trying, one at a time. Each time the document succeeded in iCloud, it suddenly appeared in Pages on iPhone. In fact, the second document began to appear in the documents listing in Pages on iPhone just before the progress bar in iCloud completed.
    I tried opening each one in Pages on iPhone, and iCloud immediately updated each one with a preview and as downloadable. I downloaded them to the Mac and they opened fine. [Admittedly, the Pages version from iCloud of the "Getting Started copy" with the moved butterfly was a little different in Pages on Mac: it had the butterfly on the previous page underneath everything; the PDF version of that document had everything correct.]
    Anyways, the document listing between iCloud and Pages on iPhone is working now.
    I thinking it might have helped to clear out all the documents in iCloud and deleting all documents in Pages for iPhone. However, be sure to at least email copies from Pages on iPhone first if you don't have any backups. I think it might also have helped to turn off Settings > iCloud > Documents & Data: OFF, so it'll send that signal to delete the documents in iCloud, even if there's already nothing there. I don't know for sure, but that's probably the way to start from scratch. Oh, and maybe wait an hour or two after that before doing anything again, then turn Documents & Data: ON, and Pages > Use iCloud: ON, and then start by creating a new document in Pages on iPhone.
    I'm just glad I didn't have to do a Restore from iTunes. And now that it's working, it's so instant between Pages on iPhone and iCloud! This is seeming like it will definitely be great, now that it's working.

  • ? how to add page numbers in pages 5.2, starting with 2.  Pages '09 had an option to not show folio on page one.  Also any how to do left and right folios for a Tabloid?  Many trhanks

    ? how to add page numbers in pages 5.2, starting with page 2.  Pages '09 had an option to not show folio on page one.  Also any idea how to do left and right folios for a Tabloid?  Many thanks  . . .

    Hello jacquemac,
    Your first question:
    There might be a better way of achieving what you wish to do, but following these steps could help you out.
    You might want to blend in Thumbnails and Invisibles either with (cmd+shift+i and cmd+alt+p) or over the View section in the Menubar.
    1. go for Documents (right end of the Toolbar) -> Section
    2. place your cursor at the very top of your second page and click "Create new Section->Starting with this page" in the side bar on your right.
    (what you are actually doing next is setting the pagenumbers for each section you created. You can see your sections in the Thumbnail view.)
    3. click on your first page (the first and only page of your first section) and mark the checkbox "Hide on first page of section"
    4. click on your second page (the first page of your second section) and  "Insert page number" -> start at 1
    Your second question:
    Im not quite sure i understand what exactly you want to do here. One page, two columns, each column with another page number? As far as i know this is not possible.
    greetings jl

  • How to show a html page in a swing applet -- URGENT!!!

    Hi All,
    I'm trying to show a html page inside a swing applet... is it possible to do that?? if so is there any built-in classes available for that?? If anyone have some examples, plz help me with that....
    Thanks,
    Ragu

    i havent tested.. but this should work. i am no expert on these either, just to give you an example.. :-)
    JEditorPane ePane = new JEditorPane();
    HTMLEditorKit html = new HTMLEditorKit();
    ePane.setEditorKit(html);
    HTMLDocument htmld = new HTMLDocument();
    try{
    URL url = new URL("http://hcs.harvard.edu/~undercon/");
    InputStream ins = url.openStream();
    ePane.setDocument(htmld);
    html.read(ins,htmld, 0);
    this.getContentPane().add(new JScrollPane(ePane),BorderLayout.CENTER);
    catch(Exception e)
    e.printStackTrace();
    }

  • Garamond font is turned off. I restored it but it's not showing up in Pages. How do I correct this problem?

    Garamond font is turned off when I installed OS X Mavericks. I restored it but it's not showing up in Pages. How do I fix this problem?

    Try opening up:
    /Applications/Font Book
    Scroll to the Garamont Font, then try File > Validate font
    If this doesnt work, right click (or control + click) the font and select show in finder. Makes sure it is not located in the /Library/Disabled Fonts/   folder

  • BLOB image not shows in JSP page!!

    Hi Dear all,
    I had tried to configure how to show BLOB image to jsp page . The code are works fine and servlet works ok but image can not show only. can you help me that what need to be added. Please help me.
    Can any experts help me? BLOB image not shows in JSP page. I am using ADF11g/DB 10gR2.
    My as Code follows:
    _1. Servlet Config_
        <servlet>
            <servlet-name>images</servlet-name>
            <servlet-class>his.model.ClsImage</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>images</servlet-name>
            <url-pattern>/render_images</url-pattern>
        </servlet-mapping>
      3. class code
    package his.model;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Iterator;
    import java.util.Map;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.client.Configuration;
    import oracle.jbo.domain.BlobDomain;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    public class ClsImage extends HttpServlet
      //private static final Log LOG = LogFactory.getLog(ImageServlet.class);
      private static final Log LOG = LogFactory.getLog(ClsImage.class);
      public void init(ServletConfig config)
        throws ServletException
        super.init(config);
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response)
        throws ServletException, IOException
        System.out.println("GET---From servlet============= !!!");
        String appModuleName = "his.model.ModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleName");
        String appModuleConfig = "TempModuleAssetMgt";//this.getServletConfig().getInitParameter("ApplicationModuleConfig");
        String voQuery ="select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = 'P1000000000006'" ;// 'P1000000000006' this.getServletConfig().getInitParameter("ImageViewObjectQuery");
        String mimeType = "jpg";//this.getServletConfig().getInitParameter("gif");
        //?IMAGE_NO='P1000000000006'
        //TODO: throw exception if mandatory parameter not set
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName, appModuleConfig);
          ViewObject vo =  am.createViewObjectFromQueryStmt("TempView2", voQuery);
        Map paramMap = request.getParameterMap();
        Iterator paramValues = paramMap.values().iterator();
        int i=0;
        while (paramValues.hasNext())
          // Only one value for a parameter is expected.
          // TODO: If more then 1 parameter is supplied make sure the value is bound to the right bind  
          // variable in the query! Maybe use named variables instead.
          String[] paramValue = (String[])paramValues.next();
          vo.setWhereClauseParam(i, paramValue[0]);
          i++;
       System.out.println("before run============= !!!");
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        System.out.println("after run============= !!!");
        Row product = vo.first();
        //System.out.println("============"+(BlobDomain)product.getAttribute(0));
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null)
          System.out.println("onside product============= !!!");
           // We assume the Blob to be the first a field
           image = (BlobDomain) product.getAttribute(0);
           //System.out.println("onside  run product============= !!!"+image.toString() +"======="+image );
           // Check if there are more fields returned. If so, the second one
           // is considered to hold the mime type
           if ( product.getAttributeCount()> 1 )
              mimeType = (String)product.getAttribute(1);       
        else
          //LOG.warn("No row found to get image from !!!");
          LOG.warn("No row found to get image from !!!");
          return;
        System.out.println("Set Image============= !!!");
        // Set the content-type. Only images are taken into account
        response.setContentType("image/"+ mimeType+ "; charset=windows-1252");
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[4096];
        int nread;
        while ((nread = is.read(buffer)) != -1)
          os.write(buffer, 0, nread);
          //System.out.println("Set Image============= loop!!!"+(is.read(buffer)));
        os.close();
        // Remove the temporary viewobject
        vo.remove();
        // Release the appModule
        Configuration.releaseRootApplicationModule(am, false);
    } 3 . Jsp Tag
    <af:image source="/render_images" shortDesc="Item"/>  Thanks.
    zakir
    ====
    Edited by: Zakir Hossain on Apr 23, 2009 11:19 AM

    Hi here is solution,
    later I will put a project for this solution, right now I am really busy with ADF implementation.
    core changes is to solve my problem:
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        }All code as below:
    Servlet Code*
      public void doGet(HttpServletRequest request,
                        HttpServletResponse response) throws ServletException,
                                                             IOException {
        String appModuleName =
          "his.model.ModuleAssetMgt";
        String appModuleConfig =
          "TempModuleAssetMgt";
      String imgno = request.getParameter("imgno");
        if (imgno == null || imgno.equals(""))
          return;
        String voQuery =
          "select ITEM_IMAGE from MM_ITEMIMAGE where IMAGE_NO = '" + imgno + "'";
        String mimeType = "gif";
        ApplicationModule am =
          Configuration.createRootApplicationModule(appModuleName,
                                                    appModuleConfig);
        am.clearVOCaches("TempView2", true);
        ViewObject vo = null;
        String s;
          vo = am.createViewObjectFromQueryStmt("TempView2", voQuery);
        // Run the query
        vo.executeQuery();
        // Get the result (only the first row is taken into account
        Row product = vo.first();
        BlobDomain image = null;
        // Check if a row has been found
        if (product != null) {
          // We assume the Blob to be the first a field
          image = (BlobDomain)product.getAttribute(0);
          // Check if there are more fields returned. If so, the second one
          // is considered to hold the mime type
          if (product.getAttributeCount() > 1) {
            mimeType = (String)product.getAttribute(1);
        } else {
          LOG.warn("No row found to get image from !!!");
          return;
        // Set the content-type. Only images are taken into account
        response.setContentType("image/" + mimeType);
        OutputStream os = response.getOutputStream();
        InputStream is = image.getInputStream();
        // copy blob to output
        byte[] buffer = new byte[image.getBufferSize()];
        int nread;
        vo.remove();
        while ((nread = is.read(buffer)) != -1) {
          os.write(buffer);
        is.close();
        os.close();
        // Release the appModule
    Configuration.releaseRootApplicationModule(am, true);
    }Jsp Tag
    <h:graphicImage url="/render_images?imgno=#{bindings.ImageNo.inputValue}"
                                                        height="168" width="224"/>

  • How to embed a swf video into an html page?

    I am haing trouble embedding my swf video into my html page. Here is my code:
    <embed height="340" width="549" src="flashvideos/test.swf" allowscriptaccess="always" allowfullscreen="true" flashvars="&amp;MM_ComponentVersion=1&amp;skinName=C:/Users/RogerPa1/Documents/Visual Studio 2008/WebSites/WebSite1/Products/Create/flashvideos&amp;streamName=C:\Users\RogerPa1\Docum ents\Visual Studio 2008\WebSites\WebSite1\Products\Create\flashvideos\Robotics&amp;autoPlay=true&amp;autoRew ind=false"></embed> 
    When I run the page the place where the flash player should be is blank. But if I right click I can select settings so the flash player is there. I'm using absolute urls for the flashvars because I read in a forum that that's what you're supposed to do. Anyway I am a little frustrated that the video won't play. I tried creating a video with no skin and the same problem occurs.
    Thank You
    idesofdecember

    Answered

  • I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    Try going to the following
    Tools->Web Developer-> Page Source.
    You can also access this by way of keyboard shortcut Ctrl + U
    The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item.

  • I want to upload a Banner to my iTunes U page. The banner file has all the requirements like as, kind, size, frame, and etc. Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.   Someone could help

    I want to upload a Banner to my iTunes U page.
    The banner file has all the requirements like as, kind, size, frame, and etc.
    Infortunately,  I could not upload the file. It does not show in Provider Page Configuration or the preview.
    Someone could help me?

    Sounds like a driver issue. I never tested in bridge, so I could be wrong. But it sounds to me that when you are connected to that screen, your settings are not set to the full resolution of that screen.

  • My app store will not show the update page. Any suggestions?

    My app store app will not show the update page. Any suggestions?

    You haven't told us which version of iOS you're running.
    Anyway, is it restricted?  Check Settings > General > Restrictions

Maybe you are looking for

  • Problem in Idoc extension for ORDERS05

    HI all, Am facing problem in inbound idoc, we have extended the Idoc ORDERS05 with one custom segment, and written the code in user exit EXIT_SAPLVEDA_001 and include ZXVEDU03 exit is triggering properly, sales orderis genarted successfull, but z-fil

  • Profit Centre Hierarchy

    Hi, When you do the consolidation by profit center,do you use profit center or profit center group as the cons unit? Thanks in advance

  • Auto-Flow not formatting to master

    I am placing a Word 2010 document into an InDesign document with facing pages. The Word document text places correctly, but the formatting does not.  For example, if I have three columns in both of my Master pages, autoflow places it in two columns,

  • Photo Booth and Logitech Vision Pro

    Hi there I bought a Logitech Vision Pro Quick Cam since it is said to be compatible with OS X. It works fine on my mac with Skype, but both Photo Booth and iMovie won't recognize the camera. iChat on the other hand will work. I contacted Logitech and

  • Dynamically expand a Web Dynpro TRAY

    Hi Guys, Do you know how to expand a Tray Dynamically. I like to start with a unexpanded TRAY and after the SEARCH, I like to expand the TRAY dynamically. Thanks, Ridouan.