title: Check if file exists on remote server using its URL
body: <p>How can I check in Java if a file exists on a remote server (served by HTTP), having its URL? I don't want to download the file, just check its existence.</p>