title: Spring RESTful URL call passing parameters
body: <p>How do I make a URL call to the following method if the testId is <strong>1211.ml:FA890987422</strong>. Since there is a ':' in the testId, I try to make a request using URLEncoding (%3A for :) like this</p>
  
  <pre><code>http://localhost:8080/test/1211.ml%3AFA890987422
  </code></pre>
  
  <p>When I use the above URL, I get testId as <strong>1211</strong> as opposed to <strong>1211.ml:FA890987422</strong> even though '.' does not require URL encoding. What am I doing wrong?  Also, would there be any other way to pass this testId to this method if I want to skip URL encoding?</p>
  
  <pre><code>@RequestMapping(value = "/test/{testId}",
     method = RequestMethod.GET,
     produces = "application/xml")
  public @ResponseBody String testResource(
      @PathVariable String testId){
  
      System.out.println("Test Id: "+ testId)
      // other codes follow
  </code></pre>
  
  <p>}</p>