title: android httpGet issue
body: <p>I am trying to execute the following link using following code:</p>
  
  <pre><code>class httpget{
  HttpGet httpGet=null;
  
  public void linkexecute(){
  String url="http://&lt;server&gt;/&lt;path&gt;/action=send&amp;msg=new message";
  httpGet= new HttpGet(url); // line 1
  ....
  }
  
  at line 1 it is giving error "Illegal arguement exception"    
  java.lang.IllegalArgumentException: Illegal character in query at index 77: http://&lt;server&gt;/&lt;path&gt;/sms.json?action=send&amp;msg=new message    
  at java.net.URI.create(URI.java:970)    
  at org.apache.http.client.methods.HttpGet.&lt;init&gt;(HttpGet.java:75)    
  at com.sms.login.LoginService.sendSms(LoginService.java:143)
  </code></pre>
  
  <p>Whereas there's no error for given below URL which has no gaps in words of "msg="</p>
  
  <pre><code>String url="http://&lt;server&gt;/&lt;path&gt;/action=send&amp;msg=newmessage";
  </code></pre>
  
  <p>How can I resolve the issue of gap in words in URL?</p>