FLV file not showing up on page

I am a novice with Dreamweaver. I created a site several
years ago using just Contribute 2. Yesterday I used Adobe Media
Encoder to encode some QTs to FLV (.f4v) files using a preset for
Flash 8 compatible FLV files. I created a completely new html page
in Dreamweaver and inserted the FLV file onto the page. When I use
"live view" the page works and plays the FLV file perfectly. Then I
save the file and save to the server. The page updates perfectly
EXCEPT for the flv file. In Firefox it says I need the latest Flash
version, (which I don't) in Safari, it just shows up as a blank
spot on the page, but there is a warning at the bottom of the page
and it allows you to see what the error is.
The browsers "activity" window says:
http://www.veralith.com/FLVPlayer_Progressive.swf
not found
Did part of the code - the FLVplayer - not get uploaded to
the server maybe? What could have gone wrong and how do I fix it. I
did not write special code to get the FLV file to play on the web,
I just used the insert function and thought that Dreamweaver was
going to do the rest for me "behind the scenes."
Any help would be much appreciated. I read as many "help"
files as I could, but I just don't know what I'm searching for. The
website is www.veralith.com. I'm trying to update the "demo" page
by adding about two dozen FLV files, eventually. Right now, there's
only supposed to be one on that page, but it's not showing
up.

shullfish posted in macromedia.dreamweaver:
> I thought that when you use the Insert>Media:FLV
function in
> Dreamweaver, the .swf and .js files are supposed to be
created
> automatically.
Hmm. I just did a test with CS3 and it did exactly that.
1. Created a new HTML page and saved it in the defined site
folder
2. Insert->Media->Flash Video
3. Browse to the .flv file (also in the local site)
4. Chose a skin
5. [OK]
6. Save
A dialog box appeared informing me that it created a Scripts
folder and
that I should upload that folder to my server.
There are now two .swf files in the same folder as the new
.html file.
They were not there before.
1. FLVPlayer_Progressive.swf
2. Clear_Skin_1.swf
Mark A. Boyd
Keep-On-Learnin' :)

Similar Messages

  • Flv files not showing in LMS

    Hi
    I have imported a .flv file into Captivate 4 but when I view it my LMS it does not show.
    I have read a lot of threads but I can't seem to get it to work.
    One of the wierdest things is that it was working perfectly.
    Whilst trying to get it to work I noticed that when I publish it to a folder (non zip) and play the .swf file, it works.  As soon, as I zip it via Captivate or winzip, and play the .swf file, it appears to lose the link and therefore doesnt show.
    Am I barking up the wrong tree?
    Please help me.
    Thanks

    Jp,
    Thanks for the info. I did check with Tech Support from the LMS, and they assured me that the LMS does support .flv files. However, our online modules are launched from a webserver separate from the LMS, and that server needed to have the proper MIME type configured. By default, Windows 2003 Server does not have an associated MIME type to support deploying FLVs.
    Specifically, it needed to be set up to recognize .flv files with the correct file association and content type specified. That took care of it.
    Thanks,
    Steve Sieberts
    Instructional Designer
    Education and Workforce Development Branch
    Kentucky Department for Public Health
    275 E. Main St.
    Frankfort, KY 40621
    Phone: 502-564-4990 x3789
    Fax:     502-564-2626
    [email protected]
    "The price of success is hard work, dedication to the job at hand, and the determination that whether we win or lose, we
    have applied the best of ourselves to the task at hand."
    - Vince Lombardi
    NOTICE OF CONFIDENTIALITY:  This e-mail, including any attachments, is intended only for the use of the individual or entity to which it is addressed and may contain confidential information that is legally privileged and exempt from disclosure under applicable law.  If the reader of this message is not the intended recipient, you are notified that any review, use, disclosure, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please contact the sender by reply e-mail and destroy all copies of the original message.

  • FLV file not showing in projector works as swf

    Hi I am nearly complete with my projector file, however the
    .flv I have playing on entering frame 2 just has a blank screen no
    skin etc.
    1st frame
    [as]
    stop();
    fscommand("fullscreen", "true");
    // CLICK to play flick
    flick_Btn.addEventListener("mouseUp", goIn);
    function goIn(evt:MouseEvent) {
    gotoAndPlay(2);
    // CLICK to Exit
    exit_Btn.addEventListener("mouseUp", goDie);
    function goDie(evt:MouseEvent) {
    fscommand("quit");
    [/as]
    2nd Frame
    [as]
    stop();
    import flash.system.fscommand;
    fscommand("fullscreen", "true");
    fscommand("allowscale", "false");
    function flvListener(eventObject:Object):void {
    if (eventObject.info.name == "End") {
    gotoAndPlay(3);
    myFLV.addEventListener("cuePoint", flvListener);
    [/as]
    any tips??

    Hi,
    Make sure you added the FLV file on the same path you
    targeted from inside Flash or the FLV file is not missing

  • FLV file not showing all of skin in web site

    Hi
    I am new to dream weaver and flash
    I have created a flv file in premiere pro cs4 and created swf file etc in flash cs4 when viewing in flash you see the whole skin, when put in dreamweaver site and viewed you don't see the player controls.
    I have pasted the code from the html file that was created by flash cs4 into the page where i need it to be seen and uploaded the files into my hosting site.
    SkinUnderPlaySeekStop.swf
    virtualtour.fla
    virtualtour.flv
    virtualtour.html
    virtualtour.swf
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="576" height="488" id="virtualtour" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="videos/rp/virtualtour/virtualtour.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /> <embed src="videos/rp/virtualtour/virtualtour.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="576" height="488" name="virtualtour" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
    </object>
    site address http://www.rovickproductions.com.au/virtualtours.html
    the video takes a while to start playing
    can you please assist me.
    Rodney

    Hi Rodney,
    1. swf:
    Does your swf file "SkinUnderPlaySeekStop.swf" work in DW's play-mode?
    2. flv:
    Did you do really all the required DW-steps? In order you could control this I'll try to describe in detail from the beginning (translated from my German DW):
    Create a really new subdirectory (only for this trial).
    Create a new html/php-file(only for this trial).
    Work in designMode --> Insert Flash-Video.
    Search/browse ---> yourFLV.flv
    Skin: Halo Skin 3 (min. width 280) ( it was my choice)
    width 640 ( it's my choice)
    height 480 ( it's my choice)
    I clicked all the boxes
    ---> And now away with all these files below (produced from DW) to your server.
    Best you have a look with WIN-Explorer into your directory, to see all the files DW has created in your subdirectory and don't forget one):
    YourFlv.flv
    YourFlv.htm (or YourFlv.php)
    Clear_Skin_1.swf (my choice)
    FLVPlayer_Progressive.swf
    Hans-G.

  • 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.

  • 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

  • External Drive Files Not Showing Up on Mac but files do shows Up on PC

    External Drive Files Not Showing Up on Mac but files do shows Up on PC
    i had the Ex HD for about 3 years running smoothly on my mac but recently everything disappeared. plunged it into a pc to see if it read my files and it did. what can i do? to make it work on mac again. i don't want to reformat that drive because i have important applications (DMG) and other zip photo video files in the drive.

    yes. i did.
    ...i have tried "verify" & "repair" but they didn't pass the san test. and when i "unmounted/mount" a error message popped up say that there is a application running off the drive but there nothing (i see) running, to close all activity

  • 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.

  • File not showing in SharePoint (IE) but visible in Explorer

    I have a document library that has a single file not showing up that I can't seem to track down.  I am hoping someone here might be able to offer something I haven't thought of. 
    The document library is very much 'stock'.  Verisioning is turned on and minor revisions aren't viewable to folks without edit rights.  I am the admin with full control to everything - as is the user this initially impacted. The file will show
    in the Explorer view - but isn't viewable in an 'all files' file via the browser or when attempting to open via Excel.   If we provide the full path/file it does open successfully in Excel and offer the Check Out option - but it won't show up
    in the 'File Open' dialog.  
    I thought at first it might be a matter of not having a version checked in - but it isn't showing under "Manage files which have no checked in version" menu.   I've gone through the various SharePoint view options and can't find anything there either. 
    What would make a single Excel file in such an ordinary document library not be visible to users with full control rights?  We have roughly 80k files stored in SharePoint overall - so please don't read this as being our initial test of SharePoint. 
    I'd really appreciate any ideas... 
    -Troy

    Just to add a few more details. I have been able to add the file to a different library and they uploaded fine. The library in question is created off of a template and has 2 metadata fields. The fields are also being used in the other library, but that
    was created from a different template.
    The site and initial 4 libraries were created from a site template and then the library was added from a different library template. Checking ULS logs now, but doubtful I will find anything.

  • ? 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

  • HT4101 I am trying to connect my JVC Hard Disk Drive Camcorder to my IPAD 2 via the Apple camera kit. I am able to down photos, but video files not showing. Camera shows Mass Stoarge. How can I download videos please.

    I am trying to connect my JVC Hard Disk Drive Camcorder to my IPAD 2 via the Apple camera kit. I am able to download photos, but video files not showing. Camera shows Mass Stoarge. How can I download videos please?

    The file name only has 6 characters and I'm not sure what the .mod format is. So that's why they are not seen by the iPad.
    Another way to transfer. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom
    Look at this link for convertion the .mod format.
    http://www.makeuseof.com/tag/convert-mod-camcorder-video-format-mpg-instantly/
    Message was edited by: Texas Mac Man

  • IPhoto files not showing up in list

    I have many photos on my new MacBook Pro, but when I try to "attach" them to emails, they are not showing up in the listing. I am a new Mac user, but so I don't know how to explain this. If this was a PC, it would be like files not showing up under "My Computer." PhotoBooth photos are listed though. Why is this?

    Then something has happened to the permission and or attribute settings on your folders to mark files saved in them as hidden.
    Try this Terminal command to show all files and you can turn it off by changing the true to false at the end of the command.
    defaults write com.apple.finder AppleShowAllFiles -bool true
    If you then see your files tere is a problem with files being market as hidden when they are saved. Create a New Folder in the Root of the drive and look at its Get Info window and post a screen shot of it in this thread.

  • Files not showing up in folders

    Files not showing up in folders. Saving files to folders, opening folders which are blank

    Then something has happened to the permission and or attribute settings on your folders to mark files saved in them as hidden.
    Try this Terminal command to show all files and you can turn it off by changing the true to false at the end of the command.
    defaults write com.apple.finder AppleShowAllFiles -bool true
    If you then see your files tere is a problem with files being market as hidden when they are saved. Create a New Folder in the Root of the drive and look at its Get Info window and post a screen shot of it in this thread.

  • 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"/>

  • 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.

Maybe you are looking for

  • Help in using multiple select tag

    Hi all, I'm trying to make a jsp application that as follows: 1- A multiple select control appears with a number of items in it 2- Another multiple select is empty 3- When you choose and item from the first select control and press a button the item

  • Extensions Gallery

    Fairly recently, I think following a Safari upgrade, a row of icons appeared on my Safari toolbar, below the main address input box and above the Bookmark tags. I have concluded that these are icons from the extensions gallery. I am at a loss to know

  • Inventory Management in Retail Scenario

    Hello Gurus,                  We are implementing BI7 and SAP IS retail. I have tried using 0IC_C03 cube but it is not giving correctresults. Can anyone suggest for implementing inventory management in retauk scenario. Regards, Baljit Singh

  • +/- in Query ...

    Hi All, My client wants to see only some values as '+' and some values as '-' in the same column, while currently all values are showing as '-'. There are about 40 different values going againsts the rows currently. Is it possible to do so in the BEx

  • Tiger NetBoot Questions

    I read through the docs and setup netboot on our new XServe (running 10.4.3) last night. It appears to be basically working, but... 1) I notice that the Server Admin tool -- after an hour or two -- lists the NetBoot Service as "Not Available". Once t