This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Dynamic parameter values for applet" Watch "Dynamic parameter values for applet" New topic
Author

Dynamic parameter values for applet

v kishore
Greenhorn

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
</html>
<Applet CODE="xxx.class" Archive="xxx.jar" width = 1000 height =800 >
<Param name = "abc" value = "999999">
<param name = "xyz" value= "888888">
</Applet>
</html>

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
Marshal

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


Ping & DNS - my free Android networking tools app
v kishore
Greenhorn

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

Joined: Oct 14, 2005
Posts: 18712
    
    8

What URL are you asking about?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic parameter values for applet