title: how to remove java.net.URI syntax exception
body: <p>I am using the following code to show NSE indices in default browser.</p>
  
  <pre><code>String downloadURL = "http://in.finance.yahoo.com/q;_ylt=AkieA" +
     "_4_rXXRBh2SH7_U3kXyULlG;_ylu=X3oDMTE1Nmc5cjBnBHBvcwMyBHNlY" +
     "wNmb290ZXIteWZpbmFuY2UEc2xrA25pZnR5NTA-?s=^NSEI";
  java.awt.Desktop myNewBrowserDesktop = java.awt.Desktop.getDesktop();
  java.net.URI myNewLocation = new java.net.URI(downloadURL);
  myNewBrowserDesktop.browse(myNewLocation);
  </code></pre>
  
  <p>The URL in mention has been copied from yahoo site itself. However, when i run the code , i get error like:</p>
  
  <blockquote>
    <p>java.net.URISyntaxException: Illegal
    character in query at index 140: 
    <a href="http://in.finance.yahoo.com/q;_ylt=AkieA_4_rXXRBh2SH7_U3kXyULlG;_ylu=X3oDMTE1Nmc5cjBnBHBvcwMyBHNlYwNmb290ZXIteWZpbmFuY2UEc2xrA25pZnR5NTA-?s=" rel="nofollow">http://in.finance.yahoo.com/q;_ylt=AkieA_4_rXXRBh2SH7_U3kXyULlG;_ylu=X3oDMTE1Nmc5cjBnBHBvcwMyBHNlYwNmb290ZXIteWZpbmFuY2UEc2xrA25pZnR5NTA-?s=</a>^NSEI</p>
  </blockquote>
  
  <p>I dont know what is wrong ; i have done the same with other URLs with success. Please help.</p>