Click to See Complete Forum and Search --> : Symbol not found error


Kulag
06-13-2006, 11:44 AM
Hi, I'm trying to compile an applet that uses the getParameter function to retrieve a parameter from the HTML page that loads it. The compiler won't compile it though, because the parameter name is not initialized in the class. Can somebody tell me what I'm doing wrong?

Khalid Ali
06-15-2006, 01:33 AM
post the exact error as well as the code snippet that u think is causing this error

Kulag
06-19-2006, 09:14 AM
Whoops. I forgot I posted this.

OK, the exact error message is:

SoundApplet.java:12 cannot find symbol
symbol: variable musicFileURL
location: class SoundApplet
String musicFile = getParameter(musicFileURL);

That's the error, and the code as well.