The getPath() method of the URL class in Java can be used to get the path part of the specified URL. The image below shows the different parts of a URL.
確定! 回上一頁