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

getDocumentBase documentation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 5.0
    • tools

      A DESCRIPTION OF THE PROBLEM :
      I believe this does not distinguish between the fully qualified file name and the "base".

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
         http://java.sun.com/products/jdk/1.2/

      ACTUAL -
      Gets the URL of the document in which this 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 is:
          http://java.sun.com/products/jdk/1.2/index.html
       
      should be changed so that the last part of the last line is merely
         http://java.sun.com/products/jdk/1.2/
       

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/java/applet/Applet.html#getDocumentBase()
      ###@###.### 2005-1-03 22:33:46 GMT

            son Oleg Sukhodolsky (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: