What system properties can be read by applets, and how?
System.getProperty(String key): key meaning ____________ ______________________________ java.version Java version number java.vendor Java vendor-specific string java.vendor.url Java vendor URL java.class.version Java class version number os.name Operating system name os.arch Operating system architecture os.version Operating system version file.separator File separator (eg, “/”) path.separator Path separator (eg, “:”) line.separator Line separator Applets are prevented from reading these system properties: key meaning ____________ _____________________________ java.home Java installation directory java.class.path Java classpath user.name User account name user.home User home directory user.dir User’s current working directory To read a system property from within an applet, simply invoke System.getProperty(key) on the property you are interested in. For example, String s = System.getProperty(“os.name”); • How do I hide system properties that applets are allowed to read by default? Ther