getParameter from an applet
843834Sep 13 2002 — edited Sep 16 2002Hi all,
I am very new to html/applet concepts, so your help is very crucial. I have a class that is extended from applet, and it is called launchWfeApp. I have an html file that has object tag for this applet. When I invoke html page from the browser, my applet gets called and everything works fine. Now, I want to extend this and accept parameters from url. Currently, my html is invoked by using the following url
http://xxx.yy.lucent.com/simple.html.
Now, I want to invoke it like this:
http://xxx.yy.lucent.com/simple.html?fileName=http://xxx.yy.lucent.com/my.flx&
Inside my applet class's init method, I am trying to get value of fileName
String urlName = getParameter("fileName"), but it always returns null. Am I doing something wrong?? ( obviously :) ). Any help is greatly appreciated
Thanks,
Namrata