Applet loading in IE vs Firefox

Hello!
I have a peculiar problem. I have several web pages containing lots of applets which via static methods register to a "master" applet which in turn collects information from a remote source and then updates the registered applets periodically.
Well this works fine, however the load times in IE are outrageous, it can take up to 2 minutes or so before a page with approxiamtely 20 applets is fully loaded. Whilst the same page takes about 2 seconds in firefox. I should also mention that when the page has been loaded in IE it works just as well as it does in firefox. The only problem is that it takes all to long for the page to load.
What could be the explanation of this? What is the fundamental difference in IE compared to firefox when applets are loaded?
Does anyone have some sort of clue about this one?
/HG

cell@tech wrote:
When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?Works fine with FF2.
Try to add a BODY to your HTML.
<html>
<body>
<applet height="600" width="600" code="com.program.startup.Starter.class">
<param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
</body>
</html>Bye.
RG.

Similar Messages

  • I am running 10.5.8, and just updated my java to java 5 update10. Now my firefox is missing the Java plugin, and I can't load any Java applet at all. When I try it with Safari, it hangs when certain Java applet loads. HELP!!!

    Suddenly my Java plugin is missing and i can't load any Java with Firefox at all, even though i have it enabled in the browser! i've tried loading in java embedding plugin, but it doesn't work. what should i do???

    It's not in Tools> Add-ons >plugins?  Should be Java Plug-in 2 for NPAPI browsers 13.5.0. What are you seeing there? I don't think it's called the embedding plugin any longer.
    Might try getting the Firefox 5 standalone application. Trash the current one and replace it. Doing this won't affect your Profile or any settings.
    http://www.mozilla.com/en-US/firefox/all.html
    If it's enabled, how can it be missing?
    If this doesn't work, ask here. No need to register. Make sure you put (Mac) in the title.
    http://forums.mozillazine.org/viewforum.php?f=38
    Message was edited by: WZZZ
    EDIT. Oops, may be different for 10.5.8. Was thinking recent Java update for 10.6. But try installing a new app anyway. In the past, this got me the latest Java plugin.

  • Applet loading fails: ClassNotFound exception onlyyyy on linux

    Hello,
    I have a server on my embedded device with WinCE, and this server has the jar files and html files. connecting with Windows is working fine and Java applet loads and runs perfectlly.
    The problem is with linux clients, I can't load the applet.
    I expected to havesomething wrong with the plugin, But I tried with the test applets on www.sun.com and they are working fine.
    The error is ClassNotFoundException and http connection failed, although when I take the URL copy/paste from the Java console to the address bar of the firefox it downloads the class file. so the path is OK.
    Also I can run with the appletviewer and it works perfect like the case with windows. The problem is with the browser, It can'T load the applet from a remote machine.
    Also I made an empty applet with a button on it to check may be I should compile on linux!! but also this failed, I could load this applet locally (the html and class files on desktop) and when I places them on the server in the directory configured to be the www public directory It is not loaded. And again this test applet laoded on windows machines.
    I use the same JRE version on linux and windows and the same JDK.
    I use on windows Opera/ Firefox/ explorer and all are working, on linux I use Firefox/ Konqurer/ Epiphany and all are not working.
    Any Idea?????
    Thanks in Advance

    Hello,
    I have a server on my embedded device with WinCE, and this server has the jar files and html files. connecting with Windows is working fine and Java applet loads and runs perfectlly.
    The problem is with linux clients, I can't load the applet.
    I expected to havesomething wrong with the plugin, But I tried with the test applets on www.sun.com and they are working fine.
    The error is ClassNotFoundException and http connection failed, although when I take the URL copy/paste from the Java console to the address bar of the firefox it downloads the class file. so the path is OK.
    Also I can run with the appletviewer and it works perfect like the case with windows. The problem is with the browser, It can'T load the applet from a remote machine.
    Also I made an empty applet with a button on it to check may be I should compile on linux!! but also this failed, I could load this applet locally (the html and class files on desktop) and when I places them on the server in the directory configured to be the www public directory It is not loaded. And again this test applet laoded on windows machines.
    I use the same JRE version on linux and windows and the same JDK.
    I use on windows Opera/ Firefox/ explorer and all are working, on linux I use Firefox/ Konqurer/ Epiphany and all are not working.
    Any Idea?????
    Thanks in Advance

  • Applet loading in IE but shows source in FireFox3 problem

    Hello,
    I want to put an applet onto my church's web site. I decided to just put a simple test applet on to see how to use applets. I also put a link on the site to the html page that contains the applet declaration. Here is the html code
    <html> <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </html>
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?
    thanks
    jman

    cell@tech wrote:
    When I navigate to the site in IE and click on the link the applet loads, but when I navigate to the site in FireFox3 it displays the html code. My FireFox browser runs applets just fine on other sites, so is there something else I need to put in the html code for FF3?Works fine with FF2.
    Try to add a BODY to your HTML.
    <html>
    <body>
    <applet height="600" width="600" code="com.program.startup.Starter.class">
    <param name=archive value=http://www.wheeling22.adventistchurchconnect.org/site/1/directory/WheelingWebSite.jar /> Your browser does not support the <code>applet</code> tag. </applet>
    </body>
    </html>Bye.
    RG.

  • Applet loading in different Browsers

    Hi...We are currently developing an applet thas is loaded into an embedded server from LANTRONIX (WiPort). We have been experienced randomly problems like classNotFound ClassNotDefFound.
    This applet must run on IE Firefox Netscape Navigator and Opera. Strangely applet works well only in Opera browser.
    Errors seems to be related to client side LAN speed. (If embedded web server is accessed from a 10Mbits LAN only Opera can run the applet. If webServer is accessed from a 100Mbits connection, all browsers can load tthe applet.)
    We read about different classloader for every browser, can it be related to the problem?
    Classes are compressed into .cab files.
    Is there any way to check class laoding into the html code.
    Thanks in advance.

    Are you sure IE6 is using Sun's plugin 6?
    If I'm right, IE is using M$'s JRE plugin by default, leading to crappy and unpredicable behavior.

  • MacBook Air 2011, running Lion 10.7.2, and Safari won't load any pages. Firefox loads everything just fine. What's going on?

    I have a MacBook Air 2011, running Lion 10.7.2, and Safari won't load any pages. Firefox loads everything just fine. What's going on?

    d Pacifist to reinstall both the Safari
    application and the WebKit framework
    was that before the 10.4.6 combo was applied?
    Nope, I tried the Pacifist route after applying the combo update.
    It does sound as if webkit is busted at the moment.
    What version of osx is on your install disks?
    Not sure, I'll have to check them.
    I'd like to avoid a archive & install, but I'm beginning to think it's my only remaining option.

  • Multiple instances of the same applet loaded causes problem

    I have a java applet that has several classes in the project. The applet has a JTable a JButton and a JLabel control. The applet is displayed within an HTML page. The problem is that if a user opens the same html page more than once with the applet in it, only the last applet loaded receives the screen updates.
    For example in one senario. I have an error message that displays in the Label control once they click on the button.
    The user opens the html page and the applet is loaded (window 1). The user then opens the same html page again (window 2) with window 1 still open. If the user clicks on the Button in window 1, the error message is displayed in the window 2 applet.
    Originally I had some static variables. Thinking it was being used globally by the JVM so I removed all of them and it still happens. I have tried using both the Applet and Object tag. But it still happens.
    Has anyone experienced this before? Any suggestions on how to make the applet update the instance that recieved the events and not just the last one that was loaded?

    You need to look at applet classloader issues. If applets have the same archive list and come from the same codebase, they have the same classloader. A class is namespaced by it's class + classloader. Any statics in a class with a classloader will be shared. If you instead make it such that your applets have unique classloaders (which you can't change for unsigned applets by yourself) by changing the codebase, that would be one solution.
    For other solutions, I recommend searching the forum. This issue comes up a lot.

  • Java applet loading for a long time.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when you first visit the site the browser freezes up for a while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.

    If you go here (warning - long load to start with) -
    www.aclwebsite.co.uk
    I have placed a newsticker java applet there but when
    you first visit the site the browser freezes up for a
    while untill the applet loads.
    Any idea on whats causing this to load so much?
    Thanks.A long-running init() or start() method of the applet. I guess you better do something about your own code then.

  • Java 1.5_13 applet loading problem due to 'activate control' fix

    I updated my JRE to Java 1.5 revision 13, and it seems to introduce a new problem. In order to fix the "click here to activate this control" problem in internet explorer, I iterate the document model and set the outerHTML of the applet tag to the same outerHTML. This removes the annoying rectangle in IE. This also causes the applet to load and break down the first time the page is displayed, because IE removes the old applet instance and creates a new one when replacing the outerHTML. When this happens on the new Java JRE release, an exception is thrown to the user saying:
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    The applet loads correctly, but the message should not be displayed. Also, it only seems to happen sometimes (maybee because sometimes the applet does not yet start before IE runs the script to replace its contents)
    Full lifecyle from the console panel:
    basic: Registered modality listener
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Unregistered modality listener
    basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@982291
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=4
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NullPointerException
    java.lang.NullPointerException
         at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    basic: Quiting applet ...
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@181fbd6, refcount=5
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1347dad
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    Does anyone know how to fix this new issue? Or does anyone know of a better way to solve the 'activate control' problem in IE that does not cause the reloading of this applet?
    Thanks.

    Hi!
    *1 -* Poor_Sitar_player's solution that i used.
    a - Build the applet's comented code into a div ...
    </div id='555>
    <!--
    <body>
    <applet name="EditoRTFa.class" id='editor' archive="../pages/expediente/Modelo/Editor/EditoRTFa.jar"
    code="br.gov.pa.tj.processo.expediente.casos.editor.EditoRTFa.class" width="750" height="550">
    </applet>
    <body>
    -->
    </div>
    b - After, insert a javascript the will remove the coments....
    <script type="text/javascript">
    var x = document.getElementById('555');
    var texto = x.innerHTML;
    texto = texto.replace('<!--','').replace('-->','');
    x.innerHTML = texto;
    <script type="text/javascript">
    *2 - Another solution*
    If you are using struts2 or your applet is inside a internal frame, is possible that the above solution will not work.
    So, the solution that i found was place the applet code in the main page, with width and heigh iguals "*0*" and style="float: left;" to hide the applet.
    This way, the applet will be load before you call the right page.
    That's all.
    Edited by: carlosmcp on Oct 14, 2008 7:01 AM

  • How to make an applet load user-defined package?

    How to have an applet load user-defined package?
    I have packages in their own directories, and the applet compiles and links with them, by use of CLASSPATH env variable. But when it comes time to run, it ignores that and does not know where the classes (in the packages) are.
    If I don't use packages and put all code in one directory, runs fine. If I use an application, I can link with and load my packages.
    I know applets can't use things like CLASSPATH for security reasons, but still, they should be able to be compiled out of several packages, why do I have to put all code together??

    OK, for reference for future newbies, here's the answer:
    use CODEBASE attribute in your html file (if on Windows server, don't use drive letter but relative path to .html file, Unix style, and put all your .class files beneath that, for example, in your .html file
    <applet
    CODEBASE="..\class
    and then have package bar Bar.class file, in ..\class\bar

  • What mean applet load from file system.. till now i load by browser (is

    just i heard about applet load in two way
    1) from net (this is throw html )
    2) from local file system. (What is this )
    plszz

    from local file system. (What is this )When the html file and the applet is on your harddisk and you open the html file in a browser.

  • A few selection of websites after fully loading become blank and start an infinite loop of loading. I reinstalled firefox once already and the problem persists. What can I do?

    A few selection of websites after fully loading become blank and start an infinite loop of loading. I reinstalled firefox once already and the problem persists. What can I do?

    Sorry I do not know what the problem may be. <br />
    If no-one comes up with better ideas of what causes this then my questions and suggestions:
    What do you mean by an infinite loop ? <br />
    The page loads and then goes blank. What exactly happens next, does the page fully load and fully display again before going blank, and repeat this cycle endlessly in the same tab.
    You do say the problem persisted in safe-mode and you had looked at the basic troubleshooting article. Buy that you can stop the problem by disabling javascript.
    * did you disable all plugins - and did you still get the problem then ?
    As you mention disabling javascript stops the problem, have you tried with<br /> Java script enabled but
    * block popups ON
    * load images automatically OFF
    * advanced options - ALL OFF<br /> What happens do you get the problem then or not.
    While on this firefox site if I look at the error console Ctrl+Sift+J or Tools -> Error console If I clear the console content and reload the webpage the error console shows only a couple of messages. YouTube home page give a lot of yellow triangle warnings about 200, but no red warnings, do you get red warnings.
    You could also try on the problem sites eg YouTube changing the permissions with tools -> Page Info | Permissions
    Did you try the Basic Troubeshooting suggestion of making a new profile. (Heeding the warning not to delete settings, otherwise you loose all bookmarks etc) did that help ?

  • Java applet is screwed under both FireFox and Konqueror the same way

    Ok, we have IcedTea6 Java Plugin now, and Scottrader streaming quotes applet is working both under FireFox and Konqueror.
    The problem it is sort  of screwed (similar way under FireFox and Konqueror) with respect to what I  see under Windows.
    What should I do, file the bug with www.iced-tea.org ?
    ***url fixed by skottish***
    Last edited by Fixed (2009-02-11 15:20:33)

    Inxsible wrote:
    So when you say screwed....you mean what exactly ?
    any errors? just the visual..what?
    By "screwed" I mean the inteface is seen just partially with respect to what I see under Windows Explorer -- only some buttons are avalilable.
    Another thing, but it's an old problem with real Java plugin, which was working under Konqueror long time ago -- the color of pull-down menus is dark-blue (text is not readable on it), while under Windows Exporer it is white.
    Are you averse to using Sun JRE if IcedTea is not working out for you?
    As to my knowledge, there is no Sun Java plugin for 64-bit Linux.

  • Removing gray crappy ugly Applet loader background

    excuse my language but I've spent the last two days tring to figure out how to remove the gray screen when the applet loads in a browser...
    I've searched the forums, found other ppl with same problem but no real solutions...
    from what I found:
    1. using javascript to hide the applet while its loading
    works for IE but not for Netscape 6( http://www.codeproject.com/java/javaappletwaitmsg.asp )
    2. using an applet to load the real applet
    seems ok, but you still see the gray screen when the first applet loads... basically this just shortens the time you get to see the gray screen, not a proper solution( http://www.acm.vt.edu/~jmaxwell/appletloader/appletloader.html )
    So should I assume there is no way to tell the java plug-in not to make the screen gray while its loading the applet??????
    WHY? WHY? WHY?
    is there really no way of changing this horrible GRAY screen???
    please if anybody found out how to solve this, post it here!

    2 main reasons why the gray panel stays for a long time..
    1, the JVM is loaded, the applet is now visible but due to lots of late binding and other startup stuff, the Applet itself takes a long time to load.
    Solution, in a previous page, load a dummy applet that does basically nothing and make it 1x1 pixels in width and height. This cuts down on the JVM start up.
    2, Your Applet causes classes to load from the Web Server (of course).
    Solution in 2 parts:
    Part 1, make sure that all your applet classes are jar'ed with compression on and that your applet code has debug code off and no optimisation used when compiling. This ensures the smallest code size other than that produced an obfuscator.
    Part 2, Your applet should be doing 2 things. Firstly, it should be attempting to turn its background to the chosen colour as soon as possible. It should be doing nothing else at all, not even creating other classes, loading classes nothing at all. Secondly, when the Applets background colour is set, then you can start loading classes that do the work your Applet is supposed to do. When that is all over, you can that start to modify the Applet's panel

  • After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!

    After loading the internet using Firefox AND then selecting NEWS and a delay the Error "The MSN toolbar has encountered an error. etc" occurs. Also, when browsing some searches are "REDIRECTED"!
    == This happened ==
    Every time Firefox opened
    == Hard to say but have been trying to diagnose for at least a week.

    Original message wouldnt post with attachments - trying again....
    Attachments:
    secondclickheredialog.jpg ‏40 KB
    FirstDialog.jpg ‏19 KB
    Firstclickheredialog.jpg ‏16 KB

Maybe you are looking for

  • After the 10.9.4 update, ssh no longer worked until I poked a firewall hole for sshd-keygen-wrapper

    I upgraded two of my Macs, a Mac Mini, A, and a MacBook Air, B, to OS X 10.9.4, using Software Update. After that, I could no longer ssh from A to B, but ssh from B to A worked fine. After some poking around for differences, I then noticed that in Ma

  • Wrong invoice, no support

    Hi all I am quite disappointed about apple's support. I received an invoice by email three days ago for an app which I have never bought at the iTunes store. Therefore, I immediately tried to contact Apple by phone but if you choose the iTunes option

  • Live Photoshop 3D

    Hi! i was amazed when i found out that this was possible but was very pissed to find out that I cant make this work. when i import it, the .psd file is just a 2d image like a normal boring picture in the composition. it doesn't have any cameras or nu

  • Strange behavior ACR 4.5 W/CS3 on Intel MacPro W/ OS 10.4.11

    I installed ACR 4.5 on my MacPro running OS 10.4.11 and all seemed fine except that if I open an image and try some settings with either a RAW or JPG file and then click on "CLOSE" the computer or CS3 the computer flashes bright for just an instant.

  • Mac pro volume gone quiet

    Hi, I started using my computer this morning and the volume has gone quiet. I haven't changed any settings but the volume is very quiet even when set to high! Has anyone else experienced this and resolved the problem? Many thanks Sian