getParameter() returns null

Parmelan, Edouard EP510777 at exchange.FRANCE.NCR.com
Mon Jan 18 01:36:54 PST 1999


Alice,

> Hi,
> 
> Can I use method getParameter(String) like that ?
> "private String      texte;
> .
> texte = getParameter ("Texte");"
> 
> When I do that, getParameter(...) always returns null. Why ?
> 
> Here's my file.html:
> <applet code=ScrollText.class width=250 height=50 Texte="Hello">
> </applet>
> 
> Did I forget something ?
Yes, for parameters, use <PARAM> tag like that:

<applet code="ScrollText.class" width=250 height=50>
<param name="Texte" value="Hello">
</applet>


Edouard.


More information about the kaffe mailing list