Home Segments Top Top Previous Next

838: Mainline

Suppose, for example, that you run a browser that loads an applet stored in the following file:

d:/phw/onto/java/MeterApplication.class 

Then, that applet can access only files stored in that same directory, and, if relative paths are provided, in the two subdirectories of the java directory, entertainment and data:

    |  
    |  
  -----------*----------------*------ 
             |                | 
             |                | 
            kap              phw 
                              | 
                              | 
                            *------ 
                            | 
                            | 
                           onto 
                            | 
                            | 
                          *------ 
                          | 
                          | 
                         java 
                          | 
                          | 
                        *----------------* 
                        |                | 
                        |                | 
                       entertainment    data