Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1224109

applet PARAM tag: value of NAME must be lower case

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • 1.0
    • core-libs
    • sparc
    • solaris_2.4

    Description

      It appears that the name of a parameter to an applet (as in <PARAM
      NAME=foo value=bar>) must be lower case in order for getParameter() to
      pick up its value.

      Assume a document containing

       <APPLET ...><PARAM NAME=startup VALUE="a bunch of text"></APPLET>

      We run it through the AppletViewer. In the applet's init() method,
      getParameter("STARTUP") and getParameter("startup") both return "a
      bunch of text".

      But if the document contains

       <APPLET ...><PARAM NAME=STARTUP VALUE="a bunch of text"></APPLET>

      then both getParameter("STARTUP") and getParameter("startup") return null.

      Is this a problem with the DTD, or should it be documented to work this way?

      Attachments

        Issue Links

          Activity

            People

              ahoffsunw Arthur Hoff (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: