title: Allow cross domain request to jersey web services
body: <p>Facing issue related to allowing cross domain requests in jersey.
  I tried to implement <code>com.sun.jersey.spi.container.ContainerResponseFilters</code>, but not able to configure it.</p>
  
  <p>Getting exception, when try to send the request from browser.</p>
  
  <blockquote>
    <p>org.apache.catalina.core.StandardWrapperValve invoke SEVERE:
    Servlet.service() for servlet [JAX-RS Servlet] in context with path
    [/crawlerweb] threw exception [Servlet execution threw an exception]
    with root cause java.lang.AbstractMethodError:
    javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
    at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119) at
    com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.j‌​ava:662)</p>
  </blockquote>