Closed
Bug 215575
Opened 22 years ago
Closed 22 years ago
Cannot use applet <param> tags with Mozilla browsers.
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 145979
People
(Reporter: grenoml, Assigned: bugzilla)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1
I am experiencing same behavior with Mozilla 1.0.1 (yes I know its old) and
with Mozilla Firebird 0.6.1
using either applet or object tags, none of the parameters are available to be
read by getParameter() which is returning null. All of my applets are working
in other browsers. It's only Mozilla browsers where they are failing.
Try to read parameters using getParameter("file1") with a parameter tag like so:
<param name="file1" value="myfile">
results in a null pointer being returned only in Mozilla browsers.
This is very critical as NONE of my applets work with Mozilla browsers since
they all use <param> tags!
I have tried this on both Windows and Linux platforms with the same results.
Reproducible: Always
Steps to Reproduce:
1.create an applet that reads parameters using getParameter()
2.add <applet> or <object> tags to invoke applet
3.add <param name="___" value="___"> inside <applet> or <object> tag.
4.access webpage containing applet.
Actual Results:
Java console shows NPE.
Expected Results:
Allowed the applet access to the elements of the <param> tags so that they can
be loaded by the getParameter() method.
Reporter | ||
Comment 1•22 years ago
|
||
Followup:
Here is what a typical html <object> tag looks like:
<object
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,0,mn"
codetype="application/java"
size="full"
width="240"
height="200"
align=middle >
<param name="size" value="full">
<param name="code" value="pa.ck.age.MyClass.class">
<param name="codebase" value="applets">
<param name="archive" value="myapplet.jar">
<param name="file1" value="myfile">
</object>
Reporter | ||
Comment 2•22 years ago
|
||
Updated example:
Forget the previous example it was based on one of my windows only applets.
Here's from a general applet:
<object
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="http://java.sun.com/products/plugin/1.4/jinstall-14-win32.cab#Version=1,4,0,mn"
codetype="application/java"
size="full"
width="240"
height="200"
align=middle >
<param name="size" value="full">
<param name="code" value="pa.ck.age.MyClass.class">
<param name="codebase" value="applets">
<param name="archive" value="myapplet.jar">
<param name="file1" value="myfile">
<comment>
<embed
pluginspage="http://java.sun.com/products/plugin/1.4/plugin-install.html"
align=middle
type="application/x-java-applet;jpi-version=1.4"
code="pa.ck.age.MyClass.class"
codebase="applets"
archive="myapplet.jar"
size="full"
width="240"
height="200" >
<noembed>
A Java applet should be here<br />
</noembed>
</comment>
<param name="file1" value="myfile">
A Java applet should be here<br />
<comment>
</embed>
</comment>
</object>
Comment 3•22 years ago
|
||
Garry, please don't file a duplicate bug against firebird, I can see you already
found the original, albeit unconfirmed, and commented there.
*** This bug has been marked as a duplicate of 145979 ***
Severity: critical → major
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Comment 4•21 years ago
|
||
Verified using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030817 Mozilla Firebird/0.6.1+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•