Today I saw in a Java application several different approaches to load a file.
What is the differen
file:/
is invalid as far as I know
file://
is the prefix for the file protocol
file:///
is the prefix for the file protocol, plus a leading /
pointing to the root directory of the current drive (On Windows) or the overall root directory (On Linux / Unix).
file:/ is invalid, and shouldn't work file:/// is a shorthand for: file://localhost/ file:// is the recommended method