I got this error message :
java.net.URISyntaxException: Illegal character in query at index 31: http://finance.yahoo.com/q/h?s=^IXIC
My_Url = http://finance.yahoo.com/q/h?s=^IXIC
When I copied it into a browser address field, it showed the correct page, it's a valid URL, but I can't parse it with this : new URI(My_Url)
I tried : My_Url=My_Url.replace("^","\\^"), but
<1> It won't be the url I need
<2> It doesn't work either
How to handle this ?
Frank