-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
6
-
x86
-
windows_2000
A DESCRIPTION OF THE REQUEST :
It is sometimes necessary to be able to retrieve all applet parameters.
JUSTIFICATION :
This bug was previously closed as bug 4102019.
However.
Large applets have many parameters, quite a few of which are defined deep inside the program.
Forcing the programmer to explicitly retrieve all of the possible parameters is a major inconvenience, which we do not force on java programmers elsewhere in the java eco-system.
Also, it precludes the creation of generic wrapper code for many of my programs.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Specifically, in my case, most of my programs loads their many parameters from a properties file using the Properties class.
I am trying to wrap one of these programs in an applet.
Part of this required that I load the parameters from values specified in the PARAM tags.
Only to discover that there was no way to extract all of the parameters passed into my applet.
Yes, this behaviour is occasionally error-prone, but I cannot see that allowing me this small freedom to shoot myself in the foot is any way detrimental to the applet API.
It is sometimes necessary to be able to retrieve all applet parameters.
JUSTIFICATION :
This bug was previously closed as bug 4102019.
However.
Large applets have many parameters, quite a few of which are defined deep inside the program.
Forcing the programmer to explicitly retrieve all of the possible parameters is a major inconvenience, which we do not force on java programmers elsewhere in the java eco-system.
Also, it precludes the creation of generic wrapper code for many of my programs.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Specifically, in my case, most of my programs loads their many parameters from a properties file using the Properties class.
I am trying to wrap one of these programs in an applet.
Part of this required that I load the parameters from values specified in the PARAM tags.
Only to discover that there was no way to extract all of the parameters passed into my applet.
Yes, this behaviour is occasionally error-prone, but I cannot see that allowing me this small freedom to shoot myself in the foot is any way detrimental to the applet API.
- relates to
-
JDK-4011316 Would like to be able to enumerate names of applet parameters
-
- Closed
-
-
JDK-4102019 (api) Retrieving all Applet Parameters
-
- Closed
-