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

getDocumentBase documentation error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: