File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Dynamic parameter values for applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Dynamic parameter values for applet" Watch "Dynamic parameter values for applet" New topic

Dynamic parameter values for applet

v kishore

Joined: Oct 23, 2010
Posts: 11
Hi forum,

I coded a applet program , and able to execute well while giving the parameters values on my html file.
but how can pass those values dynamically .

for example here the sample code
<Applet CODE="xxx.class" Archive="xxx.jar" width = 1000 height =800 >
<Param name = "abc" value = "999999">
<param name = "xyz" value= "888888">

in the above how can i pass the values for param name abc , xyz dynamically instead of setting same values(99999,888888) every time.
because for my application it needs to change those values so how can it work. i just using html file only no jsp.
please assist me

Thanking you in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
If you have no dynamic parts on the server (like JSP), then where are the dynamics in those numbers coming from?
v kishore

Joined: Oct 23, 2010
Posts: 11
is it possible to get parameters from the url ?
Paul Clapham

Joined: Oct 14, 2005
Posts: 19847

What URL are you asking about?
I agree. Here's the link:
subject: Dynamic parameter values for applet
It's not a secret anymore!