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

getDocumentBase() in applet package is broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • deploy
    • x86
    • windows_2000



      Name: gm110360 Date: 02/10/2003


      FULL PRODUCT VERSION :
      getDocumentBase for http://java.sun.com/products/jdk/1.2/index.html is
      http://java.sun.com/products/jdk/1.2/index.html

      FULL OPERATING SYSTEM VERSION : w2k


      A DESCRIPTION OF THE PROBLEM :
      getDocumentBase() in applet package is broken. It is
      supposed to returns an absolute URL naming the directory of
      the document in which the applet is embedded.

      For example,
      suppose an applet is contained within the
      document: "http://java.sun.com/products/jdk/1.2/index.html"
      The document base should
      be:"http://java.sun.com/products/jdk/1.2/" based on
      documentation on SUN's web site, but now it returns
      http://java.sun.com/products/jdk/1.2/index.html. please fix
      it. Thanks.


      REGRESSION. Last worked in version 1.3.1

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1.Please visit
      http://lordr1.cs.qc.edu/~nixon/cs195/ascii/Lab06/ViewURLTest.html
      2.
      3.

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 179771)
      ======================================================================

            mafishersunw Margarita Fisher (Inactive)
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: