Applet registered through object tag doesn't work

Hi..
If i register an applet through <OBJECT> tag, the applet doesn't appear, but if registering through <applet> tag, it works.
what happens?
is there anybody can tell me why?

The html <object> codes used are below.
<OBJECT
classid = "clsid:CAFEEFAC-0014-0002-0004-ABCDEFFEDCBA"
codebase = "http://java.sun.com/update/1.4.2/jinstall-1_4_2_04-windows-i586.cab#Version=1,4,2,40"
WIDTH = 100 HEIGHT = 100 >
<PARAM NAME = CODE VALUE = "MyApplet.class" >
<PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.2_04">
<PARAM NAME = "scriptable" VALUE = "false">
<PARAM NAME = MAYSCRIPT VALUE = true >
</OBJECT>
and the parent html file that contain "<iframe> tag" portion is written as below
<iframe src=iframe_testApplet.htm name=AppletLoader frameborder="no" height=150 width=150 scrolling="no"></iframe>
and all the parent html file and the iframed-file and the class file is in the same directory. so i didn't specify the "codebase" attribute above. and moreover, when i put a code that specifies the codebase though, it doesn't still work.
the code specifying codebase is like this.
<PARAM NAME = CODEBASE VALUE=".">
I just want to let know that actually I solved above problem just before with some minor change. but I still want to know why it works at this time because there is not so much difference between before and after.
the change I did is
1. I rewrite all html code into jsp code
2. in the jsp code, I specify the codebase with "<%= request.getContextPath()%>/aPath"
But as you can see, the code base is the directory that contains all the files, parent html file, iframed file and a classFile, although I changed some minor codes, that cannot make it work if it doesn't work without the minor code-change because eventually it has same context from code viewpoints.
As of now, I just take it as just a JRE bug. Can anyone let me know why it happens?

Similar Messages

  • Embedded PDF object .postMessage doesn't work with Reader DC on IE

    In our application, we have PDFs embedded in the browser with an object tag such as this:
    <object id="pdfObject" width="100%" height="100%" type="application/pdf" data="#{url}"></object>
    There are HTML/Javascript controls on the page which communicate with the PDF via this syntax:
    document.getElementById("pdfObject").postMessage([arg])
    This has been working great with Adobe Reader versions 10+.  It actually still works with Reader DC on Firefox.  However, there is a problem with Adobe Reader DC on Internet Explorer version 11.
    All I can tell so far is the "postMessage" function isn't appearing.  Using IE dev tools:
    document.getElementById("pdfObject").postMessage
    Object doesn't support this property or method
    Any help with this would be amazing.  It is a critical part of our application here.

    My application has two-way communication between browser and embedded PDF.  Basically a user clicks a button on the browser and via Javascript the embedded PDF form is submitted.  Everything was working before the update to Reader DC, but now it fails in Internet Explorer, but not in Firefox (or Chrome, if the Reader plugin isn't disabled entirely by their new default disable-NPAPI plugin policy...)
    I originally was troubleshooting communication from the browser to the embedded PDF, which is done according to the Javascript for Acrobat API reference (page 358?), in the browser, as follows:  document.getElementById('pdfObject').postMessage([args])
    Whatever is happening, postMessage is not a valid property or method of the PDF object
    Then I found this other thread:
    Adobe Reader DC: hostContainer not worked on IE
    I confirmed that within the embedded PDF, when setting up communication from the PDF to the browser, it is not able to register the hostContainer (again, on IE only)
    I have this script on initialization within the PDF:
    <---
    this.disclosed = true;
    if (this.hostContainer) this.hostContainer.messageHandler.onMessage = onMessageFunc
    this.hostContainer.messageHandler.onDisclose = function() { return true; }; }
    ---->
    Problem is this.hostContainer is null.
    The main point here is all of this was definitely working before updating to Reader DC, and is still working with DC on Firefox, but not on IE.
    To complicate things further, I have now uninstalled DC and downgraded to Reader 11.0.10.32, and am having a new bug, this time hostContainer is detected and communication to and from the PDF works again, but the submitForm action is failing with "Unable to open URL to submit this form" and "External undefined: exec".  Testing the exact same version and script with Firefox works fine

  • Dynamic versioning plugin tag doesn't work for Netscape using 1.4.1_01?

    When I use dynamic versioning for plugin, for example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was installed on the machine, the applet was not able to be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    Thanks

    When I use dynamic versioning for plugin, for
    example:
    <EMBED
    type="application/x-java-applet;version=1.4.1_01"
    >
    It doesn't work for netscape 7. Although 1.4.1_01 was
    installed on the machine, the applet was not able to
    be loaded. Plugin was not found.
    Anything wrong with the tag? It is OK for 1.4.1
    ThanksI lost alot of sleep over this!
    I finally got it to "seemingly" work
    but by NOT using 1.4.1 attribute..
    See my HTML example
    http://hyperbyte.ab.ca/JavaZone/
    While it doesn't work with the 1.4.1
    attribute it does work with Netscape
    Good Luck!
    Sincerely:
    Tony Swain
    Senior V.P. of Software Development Hyperbyte inc.
    http://www.hyperbyte.ab.ca
    Netscape DevEdge Champion Devs-Java Newsgroup
    snews://secnews.netscape.com/netscape.devs-java

  • OBJECT tag is not working in jsf

    Hello,
    I am trying to add an object tag in jsp page. it is working fine with html page but it is not recognize by the jsf.
    JDeveleoper is 12c
    Thank you.

    Hi Timo,
    I added the tag you mentioned nothing change the red line still there. But, I did something else and I do not know if this has any thing to do with the problem.
    What I did is:
    the tag is working fine in html page and here is the tag in html page:
    <DIV STYLE="position:absolute; top:100px; left:50px;">
    <table border=1 cellpadding="0">
       <tr><td> 
         <OBJECT classid=clsid:69A40DA3-4D42-11D0-86B0-0000C025864A height=75
                id=SigPlus1 name=SigPlus1
      <PARAM NAME="_Version" VALUE="131095">
      <PARAM NAME="_ExtentX" VALUE="4842">
      <PARAM NAME="_ExtentY" VALUE="1323">
      <PARAM NAME="_StockProps" VALUE="0">
                </OBJECT>
       </td></tr>
    </table>
    </DIV>
    <FORM id=FORM1 method=get name=FORM1>
    <p>
    <INPUT id=SignBtn name=SignBtn type=button value=Sign onclick=OnSign()>    
    <INPUT id=button1 name=ClearBtn type=button value=Clear onclick=OnClear()>   &nbsp
    <INPUT id=button2 name=Cancel type=button value=Cancel onclick=OnCancel()>    
    <INPUT id=submit1 name=Save type=submit value=Save onclick=OnSave()>    
    </p>
    As I mention before once I copy the previous tag into jsp page the red lines appears.  in jsp when I convert the word from uppercase to lower case the red lines disappeared and I am able to run the page but the tag is not functioning. the changed tag is:
    <div style="position:absolute; top:100px; left:50px;">
    <table border="1" cellpadding="0">
       <tr><td>  
         <object classid= "clsid:69A40DA3-4D42-11D0-86B0-0000C025864A" height="75"
                id="SigPlus1" name="SigPlus1">
      <param name="_Version" value="131095"/>
      <param name="_ExtentX" value="4842"/>
      <param name="_ExtentY" value="1323"/>
      <param name="_StockProps" value="0"/>
                </object>
       </td></tr>
    </table>
    </div>
    <p>
    <input id="SignBtn" name="SignBtn" type="button" value="Sign" onclick="OnSign()"/>    
    <input id="button1" name="ClearBtn" type="button" value="Clear" onclick="OnClear()"/>    
    <input id="button2" name="Cancel" type="button" value="Cancel" onclick="OnCancel()"/>    
    <input id="submit1" name="Save" type="submit" value="Save" onclick="OnSave()"/>    
    </p>

  • Object dependency doesn't work for class type 001.

    Dear All,
    I would like to use classification for picking up material.
    I set up a class with class type 001 and assign to material.
    When I use mm03 to search the material with class, the object dependency in the characterist doesn't work.
    Does the object dependency work for the class type 001?
    The example is as below.
    If the characteristic CH_CAR = '01', then the characteristic CH_COLOR can show Red and Write.
    If the characteristic CH_CAR = '02', then the characteristic CH_COLOR can show Black and Blue.
    I wrote a depency precondition for this scenior, but it does't work.
    If I change the class to type 300 and attached to a configurable material, then when I create a sales order and configure the material, and the dependency did work.
    Does the object depency only support the class type 300?

    you can have object dependency in characterisitcs attached to material class. In this thread underneath the class is 001
    Length & Width is not converted in classivication view
    you may not be able to find objects using dependencies used in classification
    Object Dependencies in Classification - Classification System (CA-CL) - SAP Library

  • Shared Objects: clear() doesn't work!

    Hi there!
    With reference to thread:
    http://forums.adobe.com/message/4923159
    It doesn't work anymore!
    i.e. it's impossible to delete and get rid of the identifiers which were previously written on disk...
    Name of the file hasn't changed.
    Directory where the file is hasn't changed either.
    I haven't wrote any statement in my .fla which could interfere with the instructions below.
    I still use:
    var so:SharedObject = SharedObject(credentials).getLocal("identifiers", "/");
    so.clear();
    I have a CheckBox and a Listener attached to it:
    memorizeCbx.selected;
    var memorizeCbxListener:Object = {};
    memorizeCbxListener.click = function() {
        if (!memorizeCbx.selected) {
            var so:SharedObject = SharedObject(credentials).getLocal("identifiers", "/");
            so.clear();
        else {
            SharedObject(credentials).data.userName.flush;
            SharedObject(credentials).data.userPass.flush;
    memorizeCbx.addEventListener("click",memorizeCbxListener);
    Does anybody has an idea about what's going wrong?
    I thank you all in advance for any solution.

    Sorry for the delay...
    You're right.
    Forget this post.
    I posted the wrong script (a tryout one) and since then, I found my mistake and everything is okay now.
    Is there a way to delete this post?

  • PSE7 Faces tagging doesn't work (No items are selected)

    Hi,
    I try to use the Faces tagging feature in PSE 7 (with windows vista 32bit sp1) but it doesn't work.
    For some reasons, the faces tagging interface never display the photos I've selected. In the lower left corner, it says "No items are selected".
    I tried selecting zero, one or more photos in the photo browser. When I select zero photos, it asks me if I want to find faces on all the displayed picture (I have about 5 000 pictures) but none appears in the faces tagging interface.
    The menu item Find->Find Faces for tagging and the button Face Faces for Tagging give the same result (doesn't work).
    Can anyone help me?
    Cheers,
    Alexandre

    Hi,
    Thanks for the help, but it did not work :(
    I tried two times:
    1) The repair command said it did not find any error and I said No to "Repair anyway", then optimized.
    2) Same thing, but I said yes to Repair anyway with the Visually similar content checkbox checked.
    Cheers,
    Alexandre

  • Authentication through external trust doesn't work with rodc

    We have an external sharepoint environment (B.com). For this environment we created a external trust. They trust our accounts  (from A.com). On our side we have a site with an DC and a RODC (also DNS server). This site is in a DMZ. All required ports
    for communication with DC's on the inside are open. The DC is used to set up the external to be removed after that.  At the b.com side we've created an conditional forwarder for a.com (the rodc is used for the forwarder).
    This setup is working fine. Users from both domains can access the sharepoint portal. But when we shut down the DC users from a.com aren't able to logon. We want to remove the DC cause we don't want it in the DMZ.
    From online research I concluded this is because it doesn't know in what site it's in. The RODC only publishes site specific srv records. The option to change reg keys for the RODC to be able to register its srv records in the non zone specific part of dns.
    This is not an option since the firewall prevents access to the rodc. This will cause all kinds of delays on our network with authentication (there's an option to make the RODC the least favorite option but this still won't prevent it from being consulted).
    Is there an option to solve this through DNS on the b.com side by manually creating the srv records (which all point to the rodc)? Or are there other options perhaps (or am I on the wrong track with the not knowing in which site it is and thus not finding
    the rodc)? Thanks!

    anyone? Any tips would be helpful.

  • Object link doesn't work

    We have a problem that we can go through the Workflow overview. But in the following screens in the box
    " Information objects addressed so far"
    when we click the links viz.
    PDOCapprovalhistory 450000001
    Nothing comes up.
    In other development & quality systems this is working.
    Any clues?
    Aruna
    <Moderator note: Moved to new thread and subject edited. Please always ask new questions in a new thread. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] for further info.>
    Edited by: Mike Pokraka on Aug 15, 2008 9:16 AM

    Hi,
    U need authorization for transaction SWO_ASYNC, check SU53.

  • Why do I have to go to the parent folder because the tag doesn't work?

    If I click on a Tag, which has the identical URL (Tag "Location") to what resides in the Parent Folder it will not access the website. However, if I go to the Parent Folder and click on the Bookmark the website can be accessed. The URLs were copied and pasted so there is no issue as far as the URL is concerned.
    It seems as though something interferes or differs when using a Tag. Sometimes I've tried recopying the URL as displayed on the website and re-pasting it in the Tag Location (URL). That works but only on a temporary basis. The next time I access the Tag I can't connect to the website.
    Is this a website issue, or a browser issue? Can a website know that a Firefox user is using a Tag to access it and won't allow access, but will if access is done through the Parent Folder?

    The "Parent Folder" is an add-on. Browse Add-ons and you'll find it. If you don't have it, add it. It has been a worthwhile addition. What it allows is to right click on a tag. A drop-down menu appears that say, "Go Parent Folder".
    This has been enormously helpful in organizing and being able to find stored Bookmarks, especially if you've got a lot of them.
    But something seems to be happening more regularly. When trying to open a website using a Tag it will time-out. It takes many tries to connect, but if you "Go Parent Folder" to where the Bookmark is actually stored the website usually opens immediately. Since both the Tag and the Bookmark appear to contain the same URL to be accessed it appears that something is happening with the Go Parent Folder Add-on or the interaction with the Tag and the Bookmark that won't allow connection to the website.
    I'm no programmer, but this is where I'd look to try and identify the problem. I'm currently using Windows 8.1 and this seemed less frequent before I gravitated from Windows XP Pro. Many of these links I've had going back to Windows 2000 Pro.
    I hope I've answered your question. This has become so annoying that I decided to take the time to comment about it.

  • Cycle through Safari windows doesn't work - command+~

    I recently got a new Mac Pro with the latest Snow Leopard OS and all updates are current.  Tried rebooting, running Disk Utility....my problem:
    Command + ~ doesn't cycle through open Safari windows anymore.  It gets stuck between two and just bounces back and forth between those when I cycling.  It used to work fine, and I hate tabs.  The shortcut is too clunky.  Command+~ is stuck in my brain, but if I have 5+ separate Safari windows open, like I said, it will start to cycle through, but then it just picks two random ones and doesn't cycle to the rest.
    AGH, help?

    I don't know if Swiss French keyboards behave the same as Danish, but on Danish keyboard you can cycle through windows by using cmd-< (which is the key left of z).

  • Taglib tag doesn't work with web.xml 2.4 ?

    That is, I switched to the 2.4 version of web.xml and now none of the taglib elements I have in there work.
    I get the following excpetion
    org.apache.jasper.JasperException: File "/tags/struts-html" not found
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav a:105)
    I've been surfing a good portion of the day looking for some documentation on this but to no avail. I did find that I should wrap the taglib elements in a jsp-info. I'm runing tomcat 5.0.19.
    In any event here is my web.xml:
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd"
    version="2.4">
    <display-name>Struts Examples Application</display-name>
    <!-- Standard Action Servlet Configuration (with debugging) -->
    <servlet>
    <servlet-name>InitServlet</servlet-name>
    <servlet-class>com.jacent.admin.servlet.init.InitServlet</servlet-clas s>
    <init-param>
    <param-name>log4j</param-name>
    <param-value>/WEB-INF/log4j.xml</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class&g t;
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <!-- module configurations -->
    <init-param>
    <param-name>debug</param-name>
    <param-value>2</param-value>
    </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>2</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <!-- Struts Tag Library Descriptors -->
    <jsp-config>
    <taglib>
    <taglib-uri>/tags/struts-bean</taglib-uri>
    <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-html</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-logic</taglib-uri>
    <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-nested</taglib-uri>
    <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/struts-tiles</taglib-uri>
    <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/datetime</taglib-uri>
    <taglib-location>/WEB-INF/datetime.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/tabs-taglib</taglib-uri>
    <taglib-location>/WEB-INF/tabs-taglib.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>/tags/admin-widgets</taglib-uri>
    <taglib-location>/WEB-INF/admin-widgets.tld</taglib-location>
    </taglib>
    <taglib>
    <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
    <taglib-location>http://java.sun.com/jsp/jstl/core</taglib-location> ;
    </taglib>
    </jsp-config>
    </web-app>
    In addition Eclipse is complaining about web-app element not able to be found.
    Thanks for anyone's help!
    John

    #1 programmers excuse: It works for me. You must be doing something wrong.
    Finding out what is the trick.
    I have Tomcat 5.0.28, but I don't think it would make THAT much difference.
    What version of Java are you running?
    You shouldn't need the entry for the JSTL library c. That works without an entry in web.xml, provided you use the correct URI.
    First step: make a test page that only uses that one taglib - eg an html:base tag.
    Confirm that it breaks with the current setup.
    Backup web.xml, and start it from scratch with an absolute minimal one - only import the struts-html library.
    Does that work?
    Slowly copy and paste in the different bits of web.xml until you find what breaks it.
    Hope this helps,
    evnafets

  • Bold in Character Tag doesn't work in cross-referenced text

    Hi there,
    I'm using cross references to insert sections of text that are repeated in two chapters. The referenced text includes bold text that is defined in a Character Tag. The chapter where I'm inserting a reference to the text has the exact same Character Tag in its Character Catalog (I imported the character formats to be sure). But the bolding goes away in the cross-referenced text. Any ideas on how to make the bolding show up?
    Thanks,
    Tami

    > The Xref appears to have honored only the Superscript and the Small Caps ...
    I did another test, and the following are honored in Cross-References:
    Family
    Small Caps, Lowercase, Uppercase
    Spread
    Stretch
    Superscript, Subscript
    This works between files, in which case the local file can have different definition for the Character Format named.
    It wasn't clear if these were honored: Pair Kern, Language
    No other Character Format options were honored.
    No source Paragraph Designer attributes were honored.
    No local overrides were honored (well, actually, I saw a font come in on insertion, but it vanished on Update).
    The above was using a simple <$paratext> Xref format. If your Xref format includes a Character Format that conflicts with the Character Format at the source, the source prevails.
    If the Xref format was, say, <Symbol><$paratext>, the format's Symbol font changed all the incoming text that used a default font, but did NOT override a Character Format:Family [Albertus] at the source. Interesting.

  • Tab-key use through a webpage doesn't work?

    I can't get the tab-key to work as an accessibility feature in Firefox.

    From what I understand you can actually activate the tab-key inside a website, but I don't know what to look for. It's not easily found, that is for sure. ;-)

  • Object.defineProperties doesn`t work

    Cannot figure out why ESTK says to this code that "Object.defineProperty is not a functoion".
    Code:
    Object.defineProperty(size, {
      "originalWeight": {
        value: "100",
        writable: false
      "originalHeight": {
        value: "200",
        writable: false
    Examples from the web have the same error.

    Javascript is an evolving language, specifications have changed since ExtendScript was created.
    (The javascript implementation in ExtendScript respects the specifications from 1999. At that time, Object.defineProperty didnt exist.)
    For the core classes, you can only use what appears in the ESTK navigator.

Maybe you are looking for

  • How to change font size in pie charts (SVG)

    Hi, I'm using pie charts (SVG) and need to change the font size for the labes into the legend box (value 1 %, value2 %, ...). I tried to change values on the chart properties page and the css and couldn't. Any help is welcome. Thanks

  • Dispute Case

    Hi All, I have gone through SAP traning for FSCM Credits, Collections and Dispute mgt. I have few basic questions. Could someone please answer these- 1. Dispute case can be initaited by anyone - either Customer or User/authorized employee of the orga

  • Hyperlinks don't work, please help!! :(

    Hi all, I've created a new website and I would just like to know why my hyperlinks don't work? The facebook link used to, but ever since I posted the text under the menu icons in the middle of the site and then publish it won't activate any of them!

  • Query panel between operator issue

    Hi, I'm using Jdeveloper 11.1.2.3.0. I have a view criteria with Equal to operator for employee id, selected Show Operator as always. Dropped it as a Query Panel with Table on a jsf page. On the query panel, selected operator as Between. When i enter

  • What do I do after Iphoto crashed and will not reload?  I only get a black screen and a circle of rotating bars.

    How do I bring up iPhoto after it seemed to crash while I was using it?  All I get now is a black screen with a circle of rotating bars.  I have closed it, and restarted after putting the machine to sleep and after shutting it off altogether; no luck