getDocumentBase documentation error

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: