I want to send request to servlet and read headers from response. So I try it using this:
URL url = new URL(contextPath + \"file_operations\"); HttpURLConn