How to put into applet initial parameters without using this:
<param name="foo" value="bar"></param>
I don’t want to use code written above, because applet must be used with big initial paramter: two arrays of Strings. Each array can contain up to 50 string elements. So i think it’s bad to write this parameters into HTML page as:
<param name="foo1" value="GUID #1"></param>
<param name="foo2" value="GUID #2"></param>
.....
<param name="foo90" value="GUID #90"></param>
Two ideas:
Use just one parameter key and concatenate the values separated by commas, so you get something like:
Then you split the value by commas in the applet code.
Read the parameters from an external file. This is slightly more difficult because you have to create a
URLConnectionto read the parameters.