tags:

views:

186

answers:

1

Here is my object tag.

    <object classid="java:my.full.class.Name.class"
            height="360" width="320">
        <param name="type" value="application/x-java-applet">
        <param name="archive" value="applets.jar">
        <param name="file" value="/report_files/1-1272041330710YAIwK">
        <param name="codebase" value="/applets">
    </object>

When I run this in firefox it just shows up with an Error, click for details. The java console shows absolutely nothing. And at the bottom of fire fox is says "Applet my.full.class.Name notloaded". The Name.class file is in the applets.jar file. I can type the URL /applets/applets.jar and access the jar file. So whats wrong?

EDIT: I can access the param file as well, although I don't believe that is the issue.

EDIT: I updated the tag because I noticed in my HTML logs it wasn't looking in the right place. Still nothing though

+1  A: 
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" 
    codebase="http://java.sun.com/update/1.6.0/jinstall-1_6-windows-i586.cab#Version=1,6,0,0"
    code="my.full.class.Name"
    archive="/applets/applets.jar" ... />

See the documentation!

(and you must not add .class to fully-qualified class names)

Bozho
That yields 0 result now in fire fox. I am assuming because of the classid from what I can read that is how IE is setup to use the object tag to render an applet.
predhme
@predhme - you must not specify `.class`.
Bozho
I guess I discovered that as you mentioned it. Thanks.
predhme