Applet param returning null with Java 1.5

D

dwt

I've created an applet with the following set of parameters in the
HTML:

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" id=List
width="950" height="500"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_5_0-windows-i586.cab#Version=1,5,0,0">
<PARAM NAME="code" VALUE="list">

<PARAM NAME="id" VALUE="123456789">
<PARAM NAME="year" VALUE="2005">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.5" width="950"
height="500" code="list"
pluginspage="http://java.sun.com/j2se/1.5.0/download.html">
<NOEMBED>
No support for JDK 1.5 applets found!
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>

in the init method I call getParameter:

year=getParameter("year");
id=getParameter("id");

The getParamter method always returns null.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top