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

Using IE's print button causes applet to restart without parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • deploy
    • x86
    • windows_nt



      Name: rlT66838 Date: 08/04/99


      Consider the following applet:

      public class Test
         extends java.applet.Applet
         {
         public void init()
            {
            System.out.println("The parameters were " +
                               (getParameter("application") == null ? "not " : "") +
                               "passed.");
            }
         }

      When the applet is loaded in IE, using Java Plug-in, it reports
      to stdout that the parameter "application" is passed from the
      HTML page. If IE's print button is pressed, the applet is
      restarted, which, in my case, is undesirable, but even worse,
      the applet reports that the new instance has not received the
      parameters.

      This can be repeated on IE4 SP1, SP2, and IE5.
      (Review ID: 93490)
      ======================================================================

            Unassigned Unassigned
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: