posted 16 years ago
Thanks Kenneth for your reply. I found out that it was problem due to decoding of file string by URLDecoder.decode() . Encoding the file string first (URLEncoder.encode()) and then making URL object works perfect. Substituting (escaping) "%" with "%25" also has the same result.