Src in embed   tag

Hi All,
I wrote a servlet which fetches the bytes from database and write it to the outputstream.
I configured it in web.xml as
     <servlet>
    <servlet-name>imageServlet</servlet-name>
    <servlet-class>com.adidas.ctm.presentation.servlet.ImageServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
    <servlet-name>imageServlet</servlet-name>
    <url-pattern>/image/*</url-pattern>
</servlet-mapping>and used the embed tag as below in jsf
<f:verbatim>
                         <embed src="/image/" height="100%" width="100%"/>
</f:verbatim>The control is not going into the servlet.
Thanks in advance
karteek

HI
After analyzing more than a day
i came to know that the culprit is <t:dataTable >.i am using the <embed> tag in one of the datatable column, it is not working there.when i kept the
same tag out of <t:dataTable> it is working fine in IE.In mozilla it is working fine every where.
please suggest a solution.

Similar Messages

  • I am trying to use the embed tag - to embed an html page with in a page embed src="page.html" /

    <pre><nowiki><!DOCTYPE HTML>
    <html>
    <body>
    <embed src="page.html" />
    </body>
    </html></nowiki></pre>

    The <embed> tag works in Windows IE 9, and Opera, Now! But not in Firefox yet. Whats up with that? I guess we will see who is going to be left behind.

  • How to set src attribute of embed tag to a swf in resource ?

    Hi all,
    I'm working on a C++ project that uses Internet Explorer engine (through Microsoft Web Browser component) to render HTML pages.
    All HTML and images files are in the project resource, and the final artifact is a standalone*.exe.
    I have an embed tag like this to add the *.swf
    <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width="314" height="64" id='player1' name='player1'>
       <param name='movie' value="res://appName.exe\res\torreVermelha.swf">
       <param name='allowfullscreen' value='true'>
       <param name='allowscriptaccess' value='always'>  
       <embed id='player1'
              name='player1'
              src='res://appName.exe\res\torreVermelha.swf'
              width="314" height="64"
              allowscriptaccess='always'
              allowfullscreen='false'/>
    </object>
    The file torreVermelha.swf is also inside the resource, but I can't access it from HTML.
    So, how can I embed a *.swf from resource?

    Obviously because I've misplaced it.
    My bad.

  • Issue while playing video in firefox 19 using embed tag with mplayer2 plugin

    In mozilla firefox embed tag not working properly. the embed video starts playing after browser is resized. Can anyone help me out playing video in ff without resizing the browser? Below is the html code. The below code works in fine in other browser
    <pre><nowiki>
    <object id="MediaPlayer1" width="400" height="300" classid="CLSID:6BF52A52-394A-11d3- B153-00C04F79FAA6"
    standby="Loading Windows Media Player components..." type="application/x-oleobject">
    <param NAME="AutoStart" VALUE="True">
    <param name="uiMode" value="none">
    <param name="PlayCount" value="9999">
    <param name="url" value="C:\SR\documents\library\2013\Video\sample_1363245215320.avi" />
    <embed type="application/x-mplayer2" src='C:\SR\documents\library\2013\Video\sample_1363245215320.avi' NAME="MediaPlayer" WIDTH="400" HEIGHT="300" ShowControls="0" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </embed>
    </object></nowiki></pre>

    Maybe try to use the file protocol instead.
    <pre><nowiki>src="file:///C:/SR/documents/library/2013/Video/sample_1363245215320.avi"
    </nowiki></pre>
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • Deprecated embed tag issues

    I have been using the embed tag to play media like:
    embed src="audio/song1.mp3" width="200" height="18"     ......  /embed
    It seems that it has become deprecated in some uses
    I'm looking for some kind of universal tag to play mp3's or .mov files
    Any idea what replaces it for basic use?

    so what's the best bet overall for maximum compatibility ?
    Use both <object> and <embed> tags.  Embed tag was never valid W3C code.  Nevertheless, some browsers require it.
    http://www.mediacollege.com/video/format/quicktime/streaming/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Embed Tag Problem

    Hi;
    I have the following code:
    <body topmargin='0' leftmargin='0' marginheight='0' marginwidth='0'>
    <object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='100%' height='100%' id='seaFlightPreloader' name='seaFlightPreloader'>
       <param name='movie' value='SeaFlightPreloader.swf'>
       <param name='allowfullscreen' value='true'>
       <param name='allowscriptaccess' value='always'>
       <param name="allowScriptAccess" value="sameDomain" />
       <embed id='seaFlightPreloader'
              name='seaFlightPreloader'
              src='SeaFlightPreloader.swf'
              width='100%'
              height='100%'
              pluginspage="http://www.macromedia.com/go/getflashplayer"
              type="application/x-shockwave-flash"
              allowscriptaccess='always'
              allowfullscreen='true'
       />
    </object>
    which produces 100% width but only about 10% height! See here: http://seaflightvi.com/
    What do?
    TIA,
    beno
    </body>

    Hi Raymond ,
    It is not related to JSF actually when i use <embed> tag.if i give the path of the pdf which is in my local machine it is giving that access denied.
    I pasted that pdf in my war and it is working now

  • HTML Embed tag with Autoplay not working with MP4 file

    Hi,
    I've added this embed tag for my MP4 movie:
    <embed src="myMovie.mp4" width="502" height="309" autoplay="true" scale="tofit">
    It's about 40 Mb big - so I obviously want to start playing as soon as possible so viewers will not wait for a long download. Problem is - it seems to ignore the Autoplay tag - resulting in waiting for a long time seeing the QT logo, and then starts when it's all downloaded.
    Is that because it's an MP4 and not MOV?
    Do I have the tag wrong?
    Alternatively - is there any way to add a progress bar to show the download progress (aside from doing it through Flash)?
    Thanks.

    Thanks,
    While it might be outdated - the "embed" tag worked on both IE and Firefox. I've tried this new code and for some reason it only works in IE, but not in Firefox. I don't know whether I should revert back to the "embed" tag or figure out what would make the new code universal to both browsers.
    Regarding the file itself - I've closed in in a container of MOV in QTPro - and will soon upload it and check it. However, I've tried to re-export that MOV again with the "fast start" check marked - and it bounced the size up from 40 Mb to 267 Mb! I'm still trying different methods of compression - but not seeing good size/quality results. The original came out of Prism Video.
    Thanks.

  • Problem with embed tag with PDF

    Dear All,
    I am using <embed > tag to embed the pdf file in my jsf page as below :
         <h:panelGrid border="0">
                        <h:panelGroup>
                        <h:outputText value="***********"/>
                         <f:verbatim >           
                        <embed  src="D:\Img\ppp.pdf" height="100%" width="100%" />
                             </f:verbatim>
                             <h:outputText value="##########"/>
                             </h:panelGroup>
                             <h:selectBooleanCheckbox value="true" ></h:selectBooleanCheckbox>
                        </h:panelGrid>when i run the application i am getting java script pop up with header Adobe PDF Document and message as Access denied.
    please help
    thanks in advance

    Hi Raymond ,
    It is not related to JSF actually when i use <embed> tag.if i give the path of the pdf which is in my local machine it is giving that access denied.
    I pasted that pdf in my war and it is working now

  • Listing all the populated variables when a swf is loaded from an embed tag ?

    Hello,
    well, everything is in the title, I've been wondering how I
    could possibily do this for some time now.
    and all I tried or thought of went nowhere.
    I'd like to list all the variables an html embed tag passes
    on to the swf file called, whatever they are named and how many
    there is.
    <EMBED
    src="example.swf?var="varcontent",var2="var2content">
    it's not life-threatening, but I hate using things that work
    when I have an idea for things that would work better x)

    thanks, I didn't think it would be this simple to list all
    var in _root.
    the only issue remaining is the case where I have more than
    one url passed on to my swf file, and how to distinguish which one
    is the one to use, but that's not really feasible (and anyway I
    can't think of a case where more than one var would be passed to
    the swfs I work on, let alone populated with an url).

  • Need Help for Embed Tag to playing all type of video files in any browser

    Hai,
    I am using the following Embed Tag for playing video files in Browsers.
    <OBJECT
    ID="mediaPlayer"
    CLASSID= "clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    CODEBASE= "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    TYPE="application/x-oleobject"
    STANDBY="Loading media player components..."
    HEIGHT="200" WIDTH="250">
    <PARAM NAME="showcontrols" VALUE="true">
    <PARAM NAME="autostart" VALUE="false">
    <PARAM NAME="loop" VALUE="false">
    <PARAM NAME="filename" VALUE="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>">
    <EMBED TYPE="video/x-msvideo"
    STANDBY="Loading media player components�"
    CONTROLLER="true"
    CONTROLS="ImageWindow,ControlPanel"
    SHOWCONTROLS="true"
    AUTOSTART="false"
    HEIGHT="200" WIDTH="250"
    SRC="photo/video/<%=category%>/<%=image.elementAt(i*4+1)%>" >
    </OBJECT>
    But this Embed Tag does not playing such type of video files(ex: *.flv, *.mov, *.avi etc.,)
    i need to play all types of video files using the Embed Tag.
    Can anyone please help me for this.
    Edited by: devtamil on Oct 3, 2007 12:27 PM

    Hi,
    Im having a similar problem and i was wondering if you were able to get a solution??
    Thanks for your help.

  • Embed tag is not working with Mozilla Firefox 23, 24 and 25

    Requirement:
    While loading the java applet on a page, if the user system do not have plugin loaded then our code should redirect the user to get Java 1.6 plugin.
    At present I am using below two URL for automatically JRE6 download
    • IE : https://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,31<br />
    [When user tries to access the applet page from IE browser then he/she is getting pop-up message for JRE6 installation, provided that the user system don’t have any JRE installed]. This scenario is working IE8,9,10<br />
    • Mozilla family : https://javadl.sun.com/webapps/download/AutoDL?BundleId=60336
    Below is the used script for ‘Object’ and ‘embed’ tag:
    <pre><nowiki><script language="javascript" >
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" name="OrderApplet"';
    WIDTH = 775 HEIGHT = 600
    codebase="https:\/\/java.sun.com\/update\/1.6.0\/jinstall-6-windows-i586.cab">';
    <PARAM NAME = "type" VALUE="application\/x-java-applet;version=1.6.0_31">';
    <PARAM NAME = "scriptable" VALUE = "true" >';
    <COMMENT>';
    <EMBED type="application\/x-java-applet;version=1.6"
    pluginspage="https:\/\/javadl.sun.com\/webapps\/download\/AutoDL?BundleId=60336">
    <NOEMBED>
    <\/COMMENT>;
    <\/NOEMBED><\/EMBED>;
    <\/OBJECT>;
    </script></nowiki></pre>
    User is getting pop-up message for JRE6 installation with browser IE8, 9, and 10 and also with Mozilla Firefox 22, but it’s failing with latest version of Mozilla Firefox23,24 and 25.
    I have gone through so many sites but could find any reason for this behavior.
    I have provided JRE6 32-bit version download URL, here I don’t think so I’m doing any version incompatibility because both the JRE6 and Mozilla Firefox are 32-bit version. And 64 bit Firefox version is not available for windows.
    I’m not sure why the code is working with Firefox 22 and its lower version but
    doesn’t work with higher version than firefox22….like 23,24,25
    Can anyone help to sort out this issue?
    Thanks, <br />
    Sumit

    Sorry for the delay in getting an answer, yesterday was a holiday in the USA.
    This forum is for Firefox user support, not for web developer support. My rough guess is that since Mozilla has blocked all but the most recent update for Java 7 Plugins - https://addons.mozilla.org/en-US/firefox/blocked/ - and Firefox 23 brought in a new '''Simplified interface for notifications of plugin installation''' - http://www.mozilla.org/en-US/firefox/23.0/releasenotes/ - that is probably why you're having a problem with versions of Firefox after Firefox 22.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    ''You'll need to register and login to be able to post in that forum''.

  • Display a message while loading using EMBED tag

    Hi
    I am using an Embed tag to pull a pdf from the backend. the pdf files are huge so it takes time to load and I want a loading message to be displayed till the form is completely loaded, so i am using onload attribute of Embed tag, but i dont think its firing because i still see the "loading" message even after the page has loaded...
    Can any one help me plzzz...

    Hi,
    Try using the FM  
    Increase the percentage for each loop        
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
                  EXPORTING
                    PERCENTAGE = 50
                    TEXT       = text-025.

  • How we will get parameters when we uses EMBED tags

    hi ,
    how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine.
    And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the parameter.
    How we will give <param tag in the case of EMBED tag. Im sending my snippet which is for only netscape.
    <EMBED type="application/x-java-applet;version=1.2.2"
    width="800" height="1200" code="myclass.class" codebase='mycodebase'
    pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No JDK 1.2 support for APPLET--please download the plugin.
    </NOEMBED>
    <param name='parameter' value='value'>
    </EMBED>
    If anybody helps, very much thankful to them
    thanks in advance

    Parameters should be inside the EMBED tag, like this :
    <EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = "Editor.class" WIDTH = 350 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"
    TOOLBAR="true"
    TOOLBAR.FLOAT="true"
    TOOLBAR.ALIGN="east"
    >
    Matthieu

  • Embed tag and validation

    I am using Dreamweaver to place .swf into my page. It
    generates an embed tag which never passes W3C validation. How do I
    place a .swf and still be compliant with the standards?

    Hi.
    SWFObject is very simple to implement:
    http://blog.deconcept.com/swfobject/
    "BrianArena" <[email protected]>
    escribió en el mensaje de
    noticias news:fpihuc$oc1$[email protected]..
    >I am using Dreamweaver to place .swf into my page. It
    generates an embed
    >tag which never passes W3C validation. How do I place a
    .swf and still be
    >compliant with the standards?

  • Embed tag always caling QT

    Hello
    I placed a simple embed tag in a page and it always calls for
    the Apple QuickTime player for what is only an mp3 file. I have
    (Windoze) configured to use the Windows Media Player for any mp3,
    but it still uses the QT. This is totally outside of the expected.
    How do I make sure it used the installed player for that file type.
    tia

    I don’t know of any way to do that.

Maybe you are looking for