title: jersey @PathParam: how to pass a variable which contains more than one slashes
body: <pre><code>package com.java4s;
  import javax.ws.rs.GET;
  import javax.ws.rs.Path;
  import javax.ws.rs.PathParam;
  import javax.ws.rs.Produces;
  import javax.ws.rs.core.Response;
  
  @Path("/customers")
  public class RestServicePathParamJava4s {
      @GET
      @Path("{name}/{country}")
      @Produces("text/html")
      public Response getResultByPassingValue(
                  @PathParam("name") String name,
                  @PathParam("country") String country) {
  
          String output = "Customer name - "+name+", Country - "+country+"";
          return Response.status(200).entity(output).build();
  
      }
  }
  </code></pre>
  
  <p>In web.xml I have specified URL pattern as <code>/rest/*</code> and in <code>RestServicePathParamJava4s.java</code> we specified class level <code>@Path</code> as <code>/customers</code> and method level <code>@Path</code> as  <code>{name}/{country}</code></p>
  
  <p>So the final URL should be </p>
  
  <pre><code>http://localhost:2013/RestPathParamAnnotationExample/rest/customers/Java4/USA
  </code></pre>
  
  <p>and the response should be displayed as  </p>
  
  <pre><code>Customer name - Java4, Country - USA
  </code></pre>
  
  <p>If I give the 2 input given below it is showing an error. How to solve this?</p>
  
  <pre><code>http://localhost:2013/RestPathParamAnnotationExample/rest/customers/Java4:kum77./@.com/USA` 
  </code></pre>
  
  <p>Here <code>Java4:kum77./@.com</code> this one is one string and it contains forward slash. how to accept this by using <code>@PathParam</code> or whatever I need to use <code>MultivaluedMap</code>. If somebody knows this plz help me. if anyone knows what is <code>MultivaluedMap</code>, give me a simple example?</p>