Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getParameter from an applet

843834Sep 13 2002 — edited Sep 16 2002
Hi 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


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 14 2002
Added on Sep 13 2002
2 comments
210 views