Change Locale.getDefault() to Locale.US, us for url is better.