Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    scandinavia
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Displaying applets in XHTML-strict documents

    Hi,

    I have a valid XHTML1.0-strict document in which I'm trying to display a Java applet using the <object> tag. I've tried the following code but with no success.

    <object classid="java:test.class" codetype="application/java" height="80" width="350">
    .
    .
    (Some parameters)
    .
    .
    </object>

    The .class file is in the same directory as the .html file but it still doesn't work (IE6).

    Any help would be much appreciated.

    Thanks!

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi,
    Well you have the applet, the code and the browser. But do you have the right plug-in? By default, IE6 has the wrong one. Could that be it?
    http://java.sun.com/getjava/download.html

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    scandinavia
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That was most certainly it! Thank you!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •