title: using servlets name and servlets-url in web.xml in java eclipse
body: <p>i want to know what should i put inside Servletname tag and url path in servlet-mapping in web.xml in eclipse.i tried googling it but i didnt find answer. Please suggest me in this, i am creating rest services in Java.</p>
  
  <pre><code> &lt;servlet&gt;
  &lt;servlet-name&gt;FirstWebserviceApplication&lt;/servlet-name&gt;
  &lt;servlet-class&gt;org.glassfish.jersey.servlet.ServletContainer&lt;/servlet-class&gt;
  &lt;init-param&gt;
    &lt;param-name&gt;jersey.config.server.provider.packages&lt;/param-name&gt;
    &lt;param-value&gt;com.restservice.jersey&lt;/param-value&gt;
  &lt;/init-param&gt;
  &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  &lt;servlet-mapping&gt;
  &lt;servlet-name&gt;FirstWebserviceApplication&lt;/servlet-name&gt;
  &lt;url-pattern&gt;/&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>